#9F299D#9F299D

#9F299D is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.199 H 328.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F299D
RGBrgb(159, 41, 157)
HSLhsl(301, 59%, 39%)
HSVhsv(301, 74%, 62%)
CMYKcmyk(0%, 74.2%, 1.3%, 37.6%)
CIE-LABlab(40.23, 60.73, -37.35)
CIE-LCHlch(40.23, 71.30, 328.40°)
OKLaboklab(51.11% 0.1704 -0.1034)
OKLCHoklch(51.11% 0.199 328.8)
XYZxyz(21.1766, 11.3927, 32.9754)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F299D #299F2B
analogous
#66299F #9F299D #9F2962
triadic
#9F299D #9D9F29 #299D9F
tetradic
#9F299D #9F6629 #299F2B #29629F
square
#9F299D #9F6629 #299F2B #29629F
split-complementary
#9F299D #629F29 #299F66
monochromatic
#3E103D #6E1C6D #9F299D #CC39CA #D96AD7

Accessibility & contrast

On white

6.41
#9F299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F299D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F299D#FFFFFF#000000##FFFFFF
##9F299D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#4B649A
Tritanopia (blue-blind)
#A43B61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f299d;
/* rgb */ color: rgb(159, 41, 157);
/* oklch */ color: oklch(51.1% 0.199 328.8);
Tailwind
colors: {
  custom: {
    50: '#bf70ba',
    500: '#9f299d',
    950: '#000000',
  },
}
SCSS
$custom: #9f299d;
$custom-light: #bf70ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f299d",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 301.017,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.19929,
    "h": 328.8
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F299D

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

Preview Lab → · Contrast checker → · Palette generator →

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