#9F2BB7#9F2BB7

#9F2BB7 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.218 H 320.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB7
RGBrgb(159, 43, 183)
HSLhsl(290, 62%, 44%)
HSVhsv(290, 77%, 72%)
CMYKcmyk(13.1%, 76.5%, 0%, 28.2%)
CIE-LABlab(42.03, 64.62, -49.98)
CIE-LCHlch(42.03, 81.69, 322.28°)
OKLaboklab(52.89% 0.1671 -0.1402)
OKLCHoklch(52.89% 0.218 320)
XYZxyz(23.7081, 12.5188, 45.9581)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB7 #43B72B
analogous
#592BB7 #9F2BB7 #B72B89
triadic
#9F2BB7 #B79F2B #2BB79F
tetradic
#9F2BB7 #B7592B #43B72B #2B89B7
square
#9F2BB7 #B7592B #43B72B #2B89B7
split-complementary
#9F2BB7 #89B72B #2BB759
monochromatic
#491454 #741F85 #9F2BB7 #BD4BD5 #CF7CE0

Accessibility & contrast

On white

5.99
#9F2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2BB7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB7#FFFFFF#000000##FFFFFF
##9F2BB71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#9F4870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2bb7;
/* rgb */ color: rgb(159, 43, 183);
/* oklch */ color: oklch(52.9% 0.218 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf72cd',
    500: '#9f2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb7;
$custom-light: #bf72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb7",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 289.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.21817,
    "h": 320
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#9F2BB7
secondary
#84C975
accent
#E5435F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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