#9F2DB4#9F2DB4

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

Color values

HEX#9F2DB4
RGBrgb(159, 45, 180)
HSLhsl(291, 60%, 44%)
HSVhsv(291, 75%, 71%)
CMYKcmyk(11.7%, 75%, 0%, 29.4%)
CIE-LABlab(42.07, 63.41, -48.14)
CIE-LCHlch(42.07, 79.61, 322.79°)
OKLaboklab(52.86% 0.1657 -0.1349)
OKLCHoklch(52.86% 0.214 320.9)
XYZxyz(23.4737, 12.5442, 44.3560)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DB4 #42B42D
analogous
#5C2DB4 #9F2DB4 #B42D86
triadic
#9F2DB4 #B49F2D #2DB49F
tetradic
#9F2DB4 #B45C2D #42B42D #2D86B4
square
#9F2DB4 #B45C2D #42B42D #2D86B4
split-complementary
#9F2DB4 #86B42D #2DB45C
monochromatic
#491552 #742183 #9F2DB4 #BD4CD2 #CF7DDE

Accessibility & contrast

On white

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

On black

3.51
#9F2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2DB4#FFFFFF#000000##FFFFFF
##9F2DB41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#A0486F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2db4;
/* rgb */ color: rgb(159, 45, 180);
/* oklch */ color: oklch(52.9% 0.214 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf72cb',
    500: '#9f2db4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2db4;
$custom-light: #bf72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2db4",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 290.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.21363,
    "h": 320.9
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#9F2DB4
secondary
#82C776
accent
#E3455D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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