Skip to content

#9883eb

a light, vivid blue · cool · closest name: Medium Purple

RGB
152, 131, 235
HSL
252°, 72%, 72%
CMYK
35, 44, 0, 8
Luminance
0.2891

At a glance

Every number on this page in one read: what #9883eb is made of, how bright it looks, and which way it leans.

Hex
#9883eb
Hue
252°
blue
Saturation
72%
vivid
Lightness
72%
light
Brightness
92%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2891
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.78:1
Closest name
Medium Purple
ΔE2000 5.9
Where it sits
Hue252° of 360°
Saturation72%
Lightness72%
Temperature
Warm ← → Cool77% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#9883eb
RGBrgb(152, 131, 235)
HSLhsl(252, 72%, 72%)
CMYKcmyk(35%, 44%, 0%, 8%)
LABlab(60.7 31.4 -49.9)
LCHlch(60.7 59.0 302.1)
OKLCHoklch(0.674 0.151 291.1)
Decimal9995243
Display P3color(display-p3 0.596 0.514 0.922)

Copy-ready code

/* CSS */
color: #9883eb;
background-color: #9883eb;
/* Tailwind (arbitrary) */
class="text-[#9883eb] bg-[#9883eb]"
/* SCSS */
$brand: #9883eb;
/* SwiftUI */
Color(red: 0.596, green: 0.514, blue: 0.922)
/* Android */
Color.parseColor("#9883eb")
/* Flutter */
Color(0xFF9883EB)
/* Python / OpenCV (BGR) */
(235, 131, 152)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #9883eb · 6.78:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.10:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.78:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #9883eb as text scores 3.10:1 on white and 6.78:1 on black.

Accessibility — WCAG contrast

Aa
#9883eb on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#9883eb on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6094EF
deuteranopia · #6290E9
tritanopia · #8397AC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9883eb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F3FC
#EBE7F8
#D1C9F3
#AF9EEF
#9883eb
#5E3EE0
#4622D3
#3A1CB0
#2E178D
#251566
#170D40
Base = 400Lightest = 50 · #F5F3FCDarkest = 950 · #170D40
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EBE7F8;
  --brand-200: #D1C9F3;
  --brand-300: #AF9EEF;
  --brand-400: #9883eb;
  --brand-500: #5E3EE0;
  --brand-600: #4622D3;
  --brand-700: #3A1CB0;
  --brand-800: #2E178D;
  --brand-900: #251566;
  --brand-950: #170D40;
  --brand: #9883eb;
  --brand-ink: #000000;
}

Colors that work with #9883eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5B4B9B
Captions on the surface
Accent#B4AD18
Second voice, not a rival
Dark variant#24126E
Hover, pressed, headers
Light variant#EDE9FB
Selected rows, tints
Dark surface#171424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #9883eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#D6EB83
Analogous left#83A2EB
Analogous right#CC83EB
Split-complement 1#EBCC83
Split-complement 2#A2EB83
Triadic 1#EB9883
Triadic 2#83EB98
Tetradic#EB83A2

RGB percentages

Red59.6%
Green51.4%
Blue92.2%

CMYK percentages

Cyan35.3%
Magenta44.3%
Yellow0.0%
Key (black)7.8%

Color previews

#9883eb text on a black background

contrast 6.78:1

Card sample

#9883eb text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9883eb;
Background color
Panel with #9883eb background
background-color: #9883eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9883eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(152, 131, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 131, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9883eb;
background: linear-gradient(135deg, #9883eb, #DD83EB);

Monochromatic scale

Palettes built from #9883eb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#9883eb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#9883eb, answered

What color is #9883eb?

#9883eb is a light vivid blue, closest to Medium Purple (ΔE2000 5.9). It sits at 252° on the hue wheel with 72% saturation and 72% lightness, which reads as cool.

What is the RGB value of #9883eb?

rgb(152, 131, 235) — 152 red, 131 green and 235 blue out of 255, or 59.6% / 51.4% / 92.2% by channel.

Is #9883eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2891 and perceived brightness is 60%, so black text on it reaches 6.78:1.

Should I use black or white text on #9883eb?

Black. It scores 6.78:1 against #9883eb, versus 3.10:1 for white — AA at any size.

What is the complementary color of #9883eb?

#D6EB83 sits directly opposite on the wheel. Softer options are the split-complements #EBCC83 and #A2EB83, which give the same contrast with far less vibration.

What colors go well with #9883eb?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5B4B9B for secondary text, #B4AD18 as an accent and #24126E for hover and pressed states. For a palette, the analogous pair #83A2EB and #CC83EB stays calm, while #D6EB83 is the loudest partner.

What is #9883eb in CMYK for printing?

cmyk(35%, 44%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9883eb warm or cool?

Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BE83EB; nudged cooler, #8293EC.

Work with #9883eb in the Color Lab