#9F2DB2#9F2DB2

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

Color values

HEX#9F2DB2
RGBrgb(159, 45, 178)
HSLhsl(291, 60%, 44%)
HSVhsv(291, 75%, 70%)
CMYKcmyk(10.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(41.94, 63.04, -47.16)
CIE-LCHlch(41.94, 78.73, 323.20°)
OKLaboklab(52.73% 0.1659 -0.132)
OKLCHoklch(52.73% 0.212 321.5)
XYZxyz(23.2715, 12.4633, 43.2907)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DB2 #40B22D
analogous
#5C2DB2 #9F2DB2 #B22D82
triadic
#9F2DB2 #B29F2D #2DB29F
tetradic
#9F2DB2 #B25C2D #40B22D #2D82B2
square
#9F2DB2 #B25C2D #40B22D #2D82B2
split-complementary
#9F2DB2 #82B22D #2DB25C
monochromatic
#481450 #732181 #9F2DB2 #BE4BD1 #D07CDE

Accessibility & contrast

On white

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

On black

3.49
#9F2DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2DB2#FFFFFF#000000##FFFFFF
##9F2DB21.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#A0476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2db2;
/* rgb */ color: rgb(159, 45, 178);
/* oklch */ color: oklch(52.7% 0.212 321.5);
Tailwind
colors: {
  custom: {
    50: '#bf72ca',
    500: '#9f2db2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2db2;
$custom-light: #bf72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2db2",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 291.429,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.21197,
    "h": 321.5
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#9F2DB2
secondary
#80C675
accent
#E3455C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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