#9F37C8#9F37C8

#9F37C8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.220 H 314.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9F37C8
RGBrgb(159, 55, 200)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 73%, 78%)
CMYKcmyk(20.5%, 72.5%, 0%, 21.6%)
CIE-LABlab(44.62, 63.63, -55.73)
CIE-LCHlch(44.62, 84.59, 318.79°)
OKLaboklab(55.08% 0.1542 -0.1572)
OKLCHoklch(55.08% 0.22 314.5)
XYZxyz(26.0878, 14.2743, 56.0134)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37C8 #60C837
analogous
#5637C8 #9F37C8 #C837A9
triadic
#9F37C8 #C89F37 #37C89F
tetradic
#9F37C8 #C85637 #60C837 #37A9C8
square
#9F37C8 #C85637 #60C837 #37A9C8
split-complementary
#9F37C8 #A9C837 #37C856
monochromatic
#531D68 #792A98 #9F37C8 #B667D5 #CD97E2

Accessibility & contrast

On white

5.45
#9F37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9F37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37C8#FFFFFF#000000##FFFFFF
##9F37C81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#9B567D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f37c8;
/* rgb */ color: rgb(159, 55, 200);
/* oklch */ color: oklch(55.1% 0.220 314.5);
Tailwind
colors: {
  custom: {
    50: '#c078d9',
    500: '#9f37c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f37c8;
$custom-light: #c078d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37c8",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 283.034,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.22019,
    "h": 314.5
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#9F37C8
secondary
#9FCE8D
accent
#E04873
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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