#9F2EAB#9F2EAB

#9F2EAB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 323.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F2EAB
RGBrgb(159, 46, 171)
HSLhsl(294, 58%, 43%)
HSVhsv(294, 73%, 67%)
CMYKcmyk(7%, 73.1%, 0%, 32.9%)
CIE-LABlab(41.64, 61.44, -43.50)
CIE-LCHlch(41.64, 75.28, 324.70°)
OKLaboklab(52.37% 0.1654 -0.1213)
OKLCHoklch(52.37% 0.205 323.7)
XYZxyz(22.6251, 12.2666, 39.6962)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EAB #3AAB2E
analogous
#602EAB #9F2EAB #AB2E79
triadic
#9F2EAB #AB9F2E #2EAB9F
tetradic
#9F2EAB #AB602E #3AAB2E #2E79AB
square
#9F2EAB #AB602E #3AAB2E #2E79AB
split-complementary
#9F2EAB #79AB2E #2EAB60
monochromatic
#45144B #72217B #9F2EAB #C148CE #D179DB

Accessibility & contrast

On white

6.08
#9F2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EAB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EAB#FFFFFF#000000##FFFFFF
##9F2EAB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#A2446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2eab;
/* rgb */ color: rgb(159, 46, 171);
/* oklch */ color: oklch(52.4% 0.205 323.7);
Tailwind
colors: {
  custom: {
    50: '#bf72c4',
    500: '#9f2eab',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eab;
$custom-light: #bf72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eab",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 294.24,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.20509,
    "h": 323.7
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#9F2EAB
secondary
#7AC372
accent
#E14756
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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