#9C37DF#9C37DF

#9C37DF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.3% C 0.240 H 307.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C37DF
RGBrgb(156, 55, 223)
HSLhsl(276, 72%, 55%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(30%, 75.3%, 0%, 12.5%)
CIE-LABlab(45.81, 67.82, -67.04)
CIE-LCHlch(45.81, 95.37, 315.33°)
OKLaboklab(56.34% 0.1466 -0.1905)
OKLCHoklch(56.34% 0.24 307.6)
XYZxyz(28.3929, 15.1284, 71.2221)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C37DF #7ADF37
analogous
#4837DF #9C37DF #DF37CE
triadic
#9C37DF #DF9C37 #37DF9C
tetradic
#9C37DF #DF4837 #7ADF37 #37CEDF
square
#9C37DF #DF4837 #7ADF37 #37CEDF
split-complementary
#9C37DF #CEDF37 #37DF48
monochromatic
#591586 #7C1EBB #9C37DF #B66CE7 #D0A1F0

Accessibility & contrast

On white

5.22
#9C37DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9C37DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C37DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C37DF#FFFFFF#000000##FFFFFF
##9C37DF1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#91618A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c37df;
/* rgb */ color: rgb(156, 55, 223);
/* oklch */ color: oklch(56.3% 0.240 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf78ea',
    500: '#9c37df',
    950: '#000000',
  },
}
SCSS
$custom: #9c37df;
$custom-light: #bf78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c37df",
  "rgb": {
    "r": 156,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 276.071,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.24037,
    "h": 307.6
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#9C37DF
secondary
#B2DC95
accent
#EF3981
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9C37DF

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

Preview Lab → · Contrast checker → · Palette generator →

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