#9939D2#9939D2

#9939D2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.225 H 309.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9939D2
RGBrgb(153, 57, 210)
HSLhsl(278, 63%, 52%)
HSVhsv(278, 73%, 82%)
CMYKcmyk(27.1%, 72.9%, 0%, 17.6%)
CIE-LABlab(44.73, 63.75, -61.37)
CIE-LCHlch(44.73, 88.49, 316.09°)
OKLaboklab(55.2% 0.1432 -0.1739)
OKLCHoklch(55.2% 0.225 309.5)
XYZxyz(26.2305, 14.3522, 62.3487)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9939D2 #72D239
analogous
#4D39D2 #9939D2 #D239BF
triadic
#9939D2 #D29939 #39D299
tetradic
#9939D2 #D24D39 #72D239 #39BFD2
square
#9939D2 #D24D39 #72D239 #39BFD2
split-complementary
#9939D2 #BFD239 #39D24D
monochromatic
#541B76 #7726A8 #9939D2 #B36BDD #CC9DE9

Accessibility & contrast

On white

5.43
#9939D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9939D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9939D2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9939D2#FFFFFF#000000##FFFFFF
##9939D21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#915C83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9939d2;
/* rgb */ color: rgb(153, 57, 210);
/* oklch */ color: oklch(55.2% 0.225 309.5);
Tailwind
colors: {
  custom: {
    50: '#bc78e1',
    500: '#9939d2',
    950: '#000000',
  },
}
SCSS
$custom: #9939d2;
$custom-light: #bc78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9939d2",
  "rgb": {
    "r": 153,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 277.647,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.22533,
    "h": 309.5
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#9939D2
secondary
#ABD592
accent
#E6427F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9939D2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9939D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva