#9937D0#9937D0

#9937D0 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.9% C 0.226 H 310.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9937D0
RGBrgb(153, 55, 208)
HSLhsl(278, 62%, 52%)
HSVhsv(278, 74%, 82%)
CMYKcmyk(26.4%, 73.6%, 0%, 18.4%)
CIE-LABlab(44.32, 64.11, -60.89)
CIE-LCHlch(44.32, 88.42, 316.48°)
OKLaboklab(54.86% 0.1454 -0.1725)
OKLCHoklch(54.86% 0.226 310.1)
XYZxyz(25.8860, 14.0593, 61.0123)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937D0 #6ED037
analogous
#4D37D0 #9937D0 #D037BB
triadic
#9937D0 #D09937 #37D099
tetradic
#9937D0 #D04D37 #6ED037 #37BBD0
square
#9937D0 #D04D37 #6ED037 #37BBD0
split-complementary
#9937D0 #BBD037 #37D04D
monochromatic
#531B72 #7626A3 #9937D0 #B269DC #CC9AE7

Accessibility & contrast

On white

5.51
#9937D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9937D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937D0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937D0#FFFFFF#000000##FFFFFF
##9937D01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#126ACD
Tritanopia (blue-blind)
#915B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9937d0;
/* rgb */ color: rgb(153, 55, 208);
/* oklch */ color: oklch(54.9% 0.226 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc77df',
    500: '#9937d0',
    950: '#000000',
  },
}
SCSS
$custom: #9937d0;
$custom-light: #bc77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9937d0",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 278.431,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.22564,
    "h": 310.1
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#9937D0
secondary
#A8D390
accent
#E5437D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9937D0

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

Preview Lab → · Contrast checker → · Palette generator →

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