#9F37CD#9F37CD

#9F37CD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.225 H 313.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F37CD
RGBrgb(159, 55, 205)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 73%, 80%)
CMYKcmyk(22.4%, 73.2%, 0%, 19.6%)
CIE-LABlab(44.96, 64.64, -58.08)
CIE-LCHlch(44.96, 86.90, 318.06°)
OKLaboklab(55.43% 0.1536 -0.1641)
OKLCHoklch(55.43% 0.225 313.1)
XYZxyz(26.6818, 14.5119, 59.1413)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37CD #65CD37
analogous
#5437CD #9F37CD #CD37B0
triadic
#9F37CD #CD9F37 #37CD9F
tetradic
#9F37CD #CD5437 #65CD37 #37B0CD
square
#9F37CD #CD5437 #65CD37 #37B0CD
split-complementary
#9F37CD #B0CD37 #37CD54
monochromatic
#551C6E #7A289F #9F37CD #B768D9 #CE99E5

Accessibility & contrast

On white

5.38
#9F37CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9F37CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37CD#FFFFFF#000000##FFFFFF
##9F37CD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#9A587F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f37cd;
/* rgb */ color: rgb(159, 55, 205);
/* oklch */ color: oklch(55.4% 0.225 313.1);
Tailwind
colors: {
  custom: {
    50: '#c078dd',
    500: '#9f37cd',
    950: '#000000',
  },
}
SCSS
$custom: #9f37cd;
$custom-light: #c078dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37cd",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 281.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.22473,
    "h": 313.1
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#9F37CD
secondary
#A3D18F
accent
#E34575
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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