#9937CD#9937CD

#9937CD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.223 H 310.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9937CD
RGBrgb(153, 55, 205)
HSLhsl(279, 60%, 51%)
HSVhsv(279, 73%, 80%)
CMYKcmyk(25.4%, 73.2%, 0%, 19.6%)
CIE-LABlab(44.11, 63.48, -59.50)
CIE-LCHlch(44.11, 87.00, 316.85°)
OKLaboklab(54.65% 0.1459 -0.1684)
OKLCHoklch(54.65% 0.223 310.9)
XYZxyz(25.5204, 13.9131, 59.0869)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937CD #6BCD37
analogous
#4E37CD #9937CD #CD37B6
triadic
#9937CD #CD9937 #37CD99
tetradic
#9937CD #CD4E37 #6BCD37 #37B6CD
square
#9937CD #CD4E37 #6BCD37 #37B6CD
split-complementary
#9937CD #B6CD37 #37CD4E
monochromatic
#511C6E #76289F #9937CD #B268D9 #CB99E5

Accessibility & contrast

On white

5.55
#9937CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9937CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937CD#FFFFFF#000000##FFFFFF
##9937CD1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1B6ACA
Tritanopia (blue-blind)
#92597F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9937cd;
/* rgb */ color: rgb(153, 55, 205);
/* oklch */ color: oklch(54.6% 0.223 310.9);
Tailwind
colors: {
  custom: {
    50: '#bc77dd',
    500: '#9937cd',
    950: '#000000',
  },
}
SCSS
$custom: #9937cd;
$custom-light: #bc77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9937cd",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 279.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.22285,
    "h": 310.9
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#9937CD
secondary
#A6D18F
accent
#E3457C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9937CD

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

Preview Lab → · Contrast checker → · Palette generator →

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