#9F2BBD#9F2BBD

#9F2BBD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.223 H 318.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9F2BBD
RGBrgb(159, 43, 189)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(15.9%, 77.2%, 0%, 25.9%)
CIE-LABlab(42.42, 65.73, -52.87)
CIE-LCHlch(42.42, 84.35, 321.19°)
OKLaboklab(53.29% 0.1664 -0.1487)
OKLCHoklch(53.29% 0.223 318.2)
XYZxyz(24.3460, 12.7739, 49.3175)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BBD #49BD2B
analogous
#562BBD #9F2BBD #BD2B92
triadic
#9F2BBD #BD9F2B #2BBD9F
tetradic
#9F2BBD #BD562B #49BD2B #2B92BD
square
#9F2BBD #BD562B #49BD2B #2B92BD
split-complementary
#9F2BBD #92BD2B #2BBD56
monochromatic
#4B1459 #75208B #9F2BBD #BB4ED7 #CE80E2

Accessibility & contrast

On white

5.91
#9F2BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9F2BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BBD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BBD#FFFFFF#000000##FFFFFF
##9F2BBD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#9E4B73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2bbd;
/* rgb */ color: rgb(159, 43, 189);
/* oklch */ color: oklch(53.3% 0.223 318.2);
Tailwind
colors: {
  custom: {
    50: '#c072d2',
    500: '#9f2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bbd;
$custom-light: #c072d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bbd",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 287.671,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.22316,
    "h": 318.2
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#9F2BBD
secondary
#8ACB79
accent
#E64264
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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