#9937DD#9937DD

#9937DD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.8% C 0.238 H 307.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9937DD
RGBrgb(153, 55, 221)
HSLhsl(275, 71%, 54%)
HSVhsv(275, 75%, 87%)
CMYKcmyk(30.8%, 75.1%, 0%, 13.3%)
CIE-LABlab(45.26, 66.87, -66.82)
CIE-LCHlch(45.26, 94.54, 315.02°)
OKLaboklab(55.82% 0.143 -0.19)
OKLCHoklch(55.82% 0.238 307)
XYZxyz(27.5514, 14.7255, 69.7835)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937DD #7BDD37
analogous
#4637DD #9937DD #DD37CE
triadic
#9937DD #DD9937 #37DD99
tetradic
#9937DD #DD4637 #7BDD37 #37CEDD
square
#9937DD #DD4637 #7BDD37 #37CEDD
split-complementary
#9937DD #CEDD37 #37DD46
monochromatic
#571683 #791FB8 #9937DD #B46BE6 #CEA0EF

Accessibility & contrast

On white

5.32
#9937DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9937DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937DD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937DD#FFFFFF#000000##FFFFFF
##9937DD1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#8D6088
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9937dd;
/* rgb */ color: rgb(153, 55, 221);
/* oklch */ color: oklch(55.8% 0.238 307.0);
Tailwind
colors: {
  custom: {
    50: '#bd78e9',
    500: '#9937dd',
    950: '#000000',
  },
}
SCSS
$custom: #9937dd;
$custom-light: #bd78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9937dd",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 221
  },
  "hsl": {
    "h": 275.422,
    "s": 70.94,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.23778,
    "h": 307
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#9937DD
secondary
#B2DB95
accent
#EE3A84
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9937DD

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

Preview Lab → · Contrast checker → · Palette generator →

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