#9F299E#9F299E

#9F299E is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.200 H 328.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9F299E
RGBrgb(159, 41, 158)
HSLhsl(301, 59%, 39%)
HSVhsv(301, 74%, 62%)
CMYKcmyk(0%, 74.2%, 0.6%, 37.6%)
CIE-LABlab(40.29, 60.89, -37.87)
CIE-LCHlch(40.29, 71.71, 328.12°)
OKLaboklab(51.17% 0.1704 -0.1049)
OKLCHoklch(51.17% 0.2 328.4)
XYZxyz(21.2623, 11.4270, 33.4269)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F299E #299F2A
analogous
#65299F #9F299E #9F2963
triadic
#9F299E #9E9F29 #299E9F
tetradic
#9F299E #9F6529 #299F2A #29639F
square
#9F299E #9F6529 #299F2A #29639F
split-complementary
#9F299E #639F29 #299F65
monochromatic
#3E103D #6E1C6E #9F299E #CC39CB #D96AD8

Accessibility & contrast

On white

6.39
#9F299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F299E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F299E#FFFFFF#000000##FFFFFF
##9F299E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#A43B62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f299e;
/* rgb */ color: rgb(159, 41, 158);
/* oklch */ color: oklch(51.2% 0.200 328.4);
Tailwind
colors: {
  custom: {
    50: '#bf70bb',
    500: '#9f299e',
    950: '#000000',
  },
}
SCSS
$custom: #9f299e;
$custom-light: #bf70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f299e",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 300.508,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.20007,
    "h": 328.4
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#9F299E
secondary
#65BF66
accent
#E24746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F299E

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

Preview Lab → · Contrast checker → · Palette generator →

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