#9F2CAF#9F2CAF

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

Color values

HEX#9F2CAF
RGBrgb(159, 44, 175)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 69%)
CMYKcmyk(9.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.64, 62.84, -45.87)
CIE-LCHlch(41.64, 77.80, 323.87°)
OKLaboklab(52.45% 0.167 -0.1282)
OKLCHoklch(52.45% 0.211 322.5)
XYZxyz(22.9358, 12.2688, 41.7092)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2CAF #3CAF2C
analogous
#5E2CAF #9F2CAF #AF2C7D
triadic
#9F2CAF #AF9F2C #2CAF9F
tetradic
#9F2CAF #AF5E2C #3CAF2C #2C7DAF
square
#9F2CAF #AF5E2C #3CAF2C #2C7DAF
split-complementary
#9F2CAF #7DAF2C #2CAF5E
monochromatic
#46134D #73207E #9F2CAF #C047D1 #D178DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2CAF#FFFFFF#000000##FFFFFF
##9F2CAF1.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)
#005AB3
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#A1456C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2caf;
/* rgb */ color: rgb(159, 44, 175);
/* oklch */ color: oklch(52.5% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#bf72c7',
    500: '#9f2caf',
    950: '#000000',
  },
}
SCSS
$custom: #9f2caf;
$custom-light: #bf72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2caf",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 292.672,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.21054,
    "h": 322.5
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#9F2CAF
secondary
#7CC572
accent
#E34558
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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