#9F2BAE#9F2BAE

#9F2BAE is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 322.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F2BAE
RGBrgb(159, 43, 174)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 68%)
CMYKcmyk(8.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(41.46, 62.99, -45.56)
CIE-LCHlch(41.46, 77.74, 324.12°)
OKLaboklab(52.31% 0.168 -0.1273)
OKLCHoklch(52.31% 0.211 322.8)
XYZxyz(22.8012, 12.1560, 41.1816)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BAE #3AAE2B
analogous
#5E2BAE #9F2BAE #AE2B7B
triadic
#9F2BAE #AE9F2B #2BAE9F
tetradic
#9F2BAE #AE5E2B #3AAE2B #2B7BAE
square
#9F2BAE #AE5E2B #3AAE2B #2B7BAE
split-complementary
#9F2BAE #7BAE2B #2BAE5E
monochromatic
#45134C #721F7D #9F2BAE #C145D1 #D176DD

Accessibility & contrast

On white

6.12
#9F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F2BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BAE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BAE#FFFFFF#000000##FFFFFF
##9F2BAE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#A1446B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2bae;
/* rgb */ color: rgb(159, 43, 174);
/* oklch */ color: oklch(52.3% 0.211 322.8);
Tailwind
colors: {
  custom: {
    50: '#bf71c7',
    500: '#9f2bae',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bae;
$custom-light: #bf71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bae",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 293.13,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.21076,
    "h": 322.8
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#9F2BAE
secondary
#7AC570
accent
#E44457
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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