#9937CB#9937CB

#9937CB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.221 H 311.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9937CB
RGBrgb(153, 55, 203)
HSLhsl(280, 59%, 51%)
HSVhsv(280, 73%, 80%)
CMYKcmyk(24.6%, 72.9%, 0%, 20.4%)
CIE-LABlab(43.97, 63.06, -58.57)
CIE-LCHlch(43.97, 86.06, 317.12°)
OKLaboklab(54.51% 0.1462 -0.1657)
OKLCHoklch(54.51% 0.221 311.4)
XYZxyz(25.2805, 13.8171, 57.8236)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937CB #69CB37
analogous
#4F37CB #9937CB #CB37B3
triadic
#9937CB #CB9937 #37CB99
tetradic
#9937CB #CB4F37 #69CB37 #37B3CB
square
#9937CB #CB4F37 #69CB37 #37B3CB
split-complementary
#9937CB #B3CB37 #37CB4F
monochromatic
#511C6C #75299C #9937CB #B268D8 #CB98E4

Accessibility & contrast

On white

5.58
#9937CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9937CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937CB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937CB#FFFFFF#000000##FFFFFF
##9937CB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#93587E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9937cb;
/* rgb */ color: rgb(153, 55, 203);
/* oklch */ color: oklch(54.5% 0.221 311.4);
Tailwind
colors: {
  custom: {
    50: '#bc77dc',
    500: '#9937cb',
    950: '#000000',
  },
}
SCSS
$custom: #9937cb;
$custom-light: #bc77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9937cb",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 279.73,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.22098,
    "h": 311.4
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#9937CB
secondary
#A4D08E
accent
#E2467B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9937CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9937CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva