#9C37DD#9C37DD

#9C37DD is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 56.2% C 0.239 H 308.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9C37DD
RGBrgb(156, 55, 221)
HSLhsl(277, 71%, 54%)
HSVhsv(277, 75%, 87%)
CMYKcmyk(29.4%, 75.1%, 0%, 13.3%)
CIE-LABlab(45.66, 67.40, -66.14)
CIE-LCHlch(45.66, 94.43, 315.54°)
OKLaboklab(56.19% 0.147 -0.1879)
OKLCHoklch(56.19% 0.239 308)
XYZxyz(28.1249, 15.0212, 69.8103)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C37DD #78DD37
analogous
#4937DD #9C37DD #DD37CB
triadic
#9C37DD #DD9C37 #37DD9C
tetradic
#9C37DD #DD4937 #78DD37 #37CBDD
square
#9C37DD #DD4937 #78DD37 #37CBDD
split-complementary
#9C37DD #CBDD37 #37DD49
monochromatic
#591683 #7C1FB8 #9C37DD #B66BE6 #D0A0EF

Accessibility & contrast

On white

5.24
#9C37DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9C37DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C37DD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C37DD#FFFFFF#000000##FFFFFF
##9C37DD1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#916088
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c37dd;
/* rgb */ color: rgb(156, 55, 221);
/* oklch */ color: oklch(56.2% 0.239 308.0);
Tailwind
colors: {
  custom: {
    50: '#bf78e9',
    500: '#9c37dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c37dd;
$custom-light: #bf78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c37dd",
  "rgb": {
    "r": 156,
    "g": 55,
    "b": 221
  },
  "hsl": {
    "h": 276.506,
    "s": 70.94,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.23853,
    "h": 308
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#9C37DD
secondary
#B0DB95
accent
#EE3A80
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C37DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9C37DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva