#9F2BA4#9F2BA4

#9F2BA4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.203 H 326.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9F2BA4
RGBrgb(159, 43, 164)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(3%, 73.8%, 0%, 35.7%)
CIE-LABlab(40.87, 61.25, -40.56)
CIE-LCHlch(40.87, 73.46, 326.49°)
OKLaboklab(51.69% 0.1684 -0.1127)
OKLCHoklch(51.69% 0.203 326.2)
XYZxyz(21.8624, 11.7805, 36.2371)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BA4 #30A42B
analogous
#632BA4 #9F2BA4 #A42B6C
triadic
#9F2BA4 #A49F2B #2BA49F
tetradic
#9F2BA4 #A4632B #30A42B #2B6CA4
square
#9F2BA4 #A4632B #30A42B #2B6CA4
split-complementary
#9F2BA4 #6CA42B #2BA463
monochromatic
#411243 #701E74 #9F2BA4 #C73FCD #D570D9

Accessibility & contrast

On white

6.26
#9F2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F2BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BA4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BA4#FFFFFF#000000##FFFFFF
##9F2BA41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#4765A1
Tritanopia (blue-blind)
#A33F65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f2ba4;
/* rgb */ color: rgb(159, 43, 164);
/* oklch */ color: oklch(51.7% 0.203 326.2);
Tailwind
colors: {
  custom: {
    50: '#bf71bf',
    500: '#9f2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ba4;
$custom-light: #bf71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ba4",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 297.521,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.20267,
    "h": 326.2
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#9F2BA4
secondary
#6EC16A
accent
#E2464D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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