#9F37DF#9F37DF

#9F37DF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.7% C 0.241 H 308.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9F37DF
RGBrgb(159, 55, 223)
HSLhsl(277, 72%, 55%)
HSVhsv(277, 75%, 87%)
CMYKcmyk(28.7%, 75.3%, 0%, 12.5%)
CIE-LABlab(46.22, 68.34, -66.36)
CIE-LCHlch(46.22, 95.26, 315.84°)
OKLaboklab(56.71% 0.1505 -0.1884)
OKLCHoklch(56.71% 0.241 308.6)
XYZxyz(28.9808, 15.4315, 71.2496)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37DF #77DF37
analogous
#4B37DF #9F37DF #DF37CB
triadic
#9F37DF #DF9F37 #37DF9F
tetradic
#9F37DF #DF4B37 #77DF37 #37CBDF
square
#9F37DF #DF4B37 #77DF37 #37CBDF
split-complementary
#9F37DF #CBDF37 #37DF4B
monochromatic
#5B1586 #7F1EBB #9F37DF #B86CE7 #D2A1F0

Accessibility & contrast

On white

5.14
#9F37DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9F37DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37DF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37DF#FFFFFF#000000##FFFFFF
##9F37DF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#95608A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f37df;
/* rgb */ color: rgb(159, 55, 223);
/* oklch */ color: oklch(56.7% 0.241 308.6);
Tailwind
colors: {
  custom: {
    50: '#c179ea',
    500: '#9f37df',
    950: '#000000',
  },
}
SCSS
$custom: #9f37df;
$custom-light: #c179ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37df",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 223
  },
  "hsl": {
    "h": 277.143,
    "s": 72.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56714,
    "c": 0.24114,
    "h": 308.6
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#9F37DF
secondary
#B0DC95
accent
#EF397E
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F37DF

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

Preview Lab → · Contrast checker → · Palette generator →

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