#9F2BB6#9F2BB6

#9F2BB6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.217 H 320.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB6
RGBrgb(159, 43, 182)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 76%, 71%)
CMYKcmyk(12.6%, 76.4%, 0%, 28.6%)
CIE-LABlab(41.96, 64.43, -49.49)
CIE-LCHlch(41.96, 81.25, 322.47°)
OKLaboklab(52.82% 0.1672 -0.1388)
OKLCHoklch(52.82% 0.217 320.3)
XYZxyz(23.6044, 12.4773, 45.4119)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB6 #42B62B
analogous
#5A2BB6 #9F2BB6 #B62B88
triadic
#9F2BB6 #B69F2B #2BB69F
tetradic
#9F2BB6 #B65A2B #42B62B #2B88B6
square
#9F2BB6 #B65A2B #42B62B #2B88B6
split-complementary
#9F2BB6 #88B62B #2BB65A
monochromatic
#491453 #741F84 #9F2BB6 #BD4AD4 #CF7BE0

Accessibility & contrast

On white

6.01
#9F2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9F2BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB6#FFFFFF#000000##FFFFFF
##9F2BB61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3967B3
Tritanopia (blue-blind)
#A04870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2bb6;
/* rgb */ color: rgb(159, 43, 182);
/* oklch */ color: oklch(52.8% 0.217 320.3);
Tailwind
colors: {
  custom: {
    50: '#bf71cc',
    500: '#9f2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb6;
$custom-light: #bf71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb6",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 290.072,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.21734,
    "h": 320.3
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#9F2BB6
secondary
#82C875
accent
#E5435E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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