#9F37B2#9F37B2

#9F37B2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.201 H 321.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9F37B2
RGBrgb(159, 55, 178)
HSLhsl(291, 53%, 46%)
HSVhsv(291, 69%, 70%)
CMYKcmyk(10.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(43.24, 59.36, -45.09)
CIE-LCHlch(43.24, 74.54, 322.78°)
OKLaboklab(53.65% 0.156 -0.126)
OKLCHoklch(53.65% 0.201 321.1)
XYZxyz(23.6992, 13.3189, 43.4333)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F37B2 #4AB237
analogous
#6137B2 #9F37B2 #B23787
triadic
#9F37B2 #B29F37 #37B29F
tetradic
#9F37B2 #B26137 #4AB237 #3787B2
square
#9F37B2 #B26137 #4AB237 #3787B2
split-complementary
#9F37B2 #87B237 #37B261
monochromatic
#4B1A54 #752983 #9F37B2 #BA5ACC #CE89DB

Accessibility & contrast

On white

5.73
#9F37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F37B2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F37B2#FFFFFF#000000##FFFFFF
##9F37B21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#A04D70
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f37b2;
/* rgb */ color: rgb(159, 55, 178);
/* oklch */ color: oklch(53.7% 0.201 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf77c9',
    500: '#9f37b2',
    950: '#000000',
  },
}
SCSS
$custom: #9f37b2;
$custom-light: #bf77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f37b2",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 290.732,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.20051,
    "h": 321.1
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#9F37B2
secondary
#8BC580
accent
#DC4C62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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