#9D37DF#9D37DF

#9D37DF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.5% C 0.241 H 307.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D37DF
RGBrgb(157, 55, 223)
HSLhsl(276, 72%, 55%)
HSVhsv(276, 75%, 87%)
CMYKcmyk(29.6%, 75.3%, 0%, 12.5%)
CIE-LABlab(45.95, 68.00, -66.82)
CIE-LCHlch(45.95, 95.33, 315.50°)
OKLaboklab(56.46% 0.1479 -0.1898)
OKLCHoklch(56.46% 0.241 307.9)
XYZxyz(28.5873, 15.2286, 71.2312)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D37DF #79DF37
analogous
#4937DF #9D37DF #DF37CD
triadic
#9D37DF #DF9D37 #37DF9D
tetradic
#9D37DF #DF4937 #79DF37 #37CDDF
square
#9D37DF #DF4937 #79DF37 #37CDDF
split-complementary
#9D37DF #CDDF37 #37DF49
monochromatic
#5A1586 #7D1EBB #9D37DF #B76CE7 #D1A1F0

Accessibility & contrast

On white

5.19
#9D37DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9D37DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D37DF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D37DF#FFFFFF#000000##FFFFFF
##9D37DF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#92608A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9d37df;
/* rgb */ color: rgb(157, 55, 223);
/* oklch */ color: oklch(56.5% 0.241 307.9);
Tailwind
colors: {
  custom: {
    50: '#c078ea',
    500: '#9d37df',
    950: '#000000',
  },
}
SCSS
$custom: #9d37df;
$custom-light: #c078ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d37df",
  "rgb": {
    "r": 157,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 276.429,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.24062,
    "h": 307.9
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#9D37DF
secondary
#B1DC95
accent
#EF3980
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9D37DF

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

Preview Lab → · Contrast checker → · Palette generator →

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