#9937CE#9937CE

#9937CE is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.224 H 310.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9937CE
RGBrgb(153, 55, 206)
HSLhsl(279, 61%, 51%)
HSVhsv(279, 73%, 81%)
CMYKcmyk(25.7%, 73.3%, 0%, 19.2%)
CIE-LABlab(44.18, 63.69, -59.96)
CIE-LCHlch(44.18, 87.48, 316.73°)
OKLaboklab(54.72% 0.1458 -0.1698)
OKLCHoklch(54.72% 0.224 310.6)
XYZxyz(25.6415, 13.9615, 59.7246)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9937CE #6CCE37
analogous
#4D37CE #9937CE #CE37B8
triadic
#9937CE #CE9937 #37CE99
tetradic
#9937CE #CE4D37 #6CCE37 #37B8CE
square
#9937CE #CE4D37 #6CCE37 #37B8CE
split-complementary
#9937CE #B8CE37 #37CE4D
monochromatic
#521B6F #7627A0 #9937CE #B268DA #CB99E6

Accessibility & contrast

On white

5.54
#9937CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9937CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9937CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9937CE#FFFFFF#000000##FFFFFF
##9937CE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#186ACB
Tritanopia (blue-blind)
#925A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9937ce;
/* rgb */ color: rgb(153, 55, 206);
/* oklch */ color: oklch(54.7% 0.224 310.6);
Tailwind
colors: {
  custom: {
    50: '#bc77de',
    500: '#9937ce',
    950: '#000000',
  },
}
SCSS
$custom: #9937ce;
$custom-light: #bc77de;
$custom-dark: #000000;
JSON
{
  "hex": "#9937ce",
  "rgb": {
    "r": 153,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 278.94,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.22377,
    "h": 310.6
  },
  "luminance": 0.13961
}

Semantic roles & 50–950 ramp

primary
#9937CE
secondary
#A6D28F
accent
#E4447C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9937CE

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

Preview Lab → · Contrast checker → · Palette generator →

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