#9F37CE#9F37CE

#9F37CE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.226 H 312.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F37CE
RGBrgb(159, 55, 206)
HSLhsl(281, 61%, 51%)
HSVhsv(281, 73%, 81%)
CMYKcmyk(22.8%, 73.3%, 0%, 19.2%)
CIE-LABlab(45.03, 64.84, -58.55)
CIE-LCHlch(45.03, 87.36, 317.92°)
OKLaboklab(55.5% 0.1534 -0.1655)
OKLCHoklch(55.5% 0.226 312.8)
XYZxyz(26.8028, 14.5603, 59.7791)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37CE #66CE37
analogous
#5337CE #9F37CE #CE37B1
triadic
#9F37CE #CE9F37 #37CE9F
tetradic
#9F37CE #CE5337 #66CE37 #37B1CE
square
#9F37CE #CE5337 #66CE37 #37B1CE
split-complementary
#9F37CE #B1CE37 #37CE53
monochromatic
#551B6F #7B27A0 #9F37CE #B768DA #CE99E6

Accessibility & contrast

On white

5.37
#9F37CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9F37CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37CE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37CE#FFFFFF#000000##FFFFFF
##9F37CE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#9A5980
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f37ce;
/* rgb */ color: rgb(159, 55, 206);
/* oklch */ color: oklch(55.5% 0.226 312.8);
Tailwind
colors: {
  custom: {
    50: '#c078de',
    500: '#9f37ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f37ce;
$custom-light: #c078de;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37ce",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 281.325,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.22564,
    "h": 312.8
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#9F37CE
secondary
#A4D28F
accent
#E44476
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F37CE

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

Preview Lab → · Contrast checker → · Palette generator →

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