#9F2BB4#9F2BB4

#9F2BB4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.216 H 320.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB4
RGBrgb(159, 43, 180)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11.7%, 76.1%, 0%, 29.4%)
CIE-LABlab(41.84, 64.07, -48.51)
CIE-LCHlch(41.84, 80.37, 322.87°)
OKLaboklab(52.69% 0.1674 -0.1359)
OKLCHoklch(52.69% 0.216 320.9)
XYZxyz(23.3992, 12.3952, 44.3312)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB4 #40B42B
analogous
#5A2BB4 #9F2BB4 #B42B84
triadic
#9F2BB4 #B49F2B #2BB49F
tetradic
#9F2BB4 #B45A2B #40B42B #2B84B4
square
#9F2BB4 #B45A2B #40B42B #2B84B4
split-complementary
#9F2BB4 #84B42B #2BB45A
monochromatic
#481351 #731F83 #9F2BB4 #BE49D3 #D07ADF

Accessibility & contrast

On white

6.04
#9F2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9F2BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB4#FFFFFF#000000##FFFFFF
##9F2BB41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2bb4;
/* rgb */ color: rgb(159, 43, 180);
/* oklch */ color: oklch(52.7% 0.216 320.9);
Tailwind
colors: {
  custom: {
    50: '#bf71cb',
    500: '#9f2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb4;
$custom-light: #bf71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb4",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 290.803,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.21568,
    "h": 320.9
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#9F2BB4
secondary
#80C773
accent
#E5435C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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