#9F299F#9F299F

#9F299F is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.201 H 328.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9F299F
RGBrgb(159, 41, 159)
HSLhsl(300, 59%, 39%)
HSVhsv(300, 74%, 62%)
CMYKcmyk(0%, 74.2%, 0%, 37.6%)
CIE-LABlab(40.35, 61.06, -38.38)
CIE-LCHlch(40.35, 72.12, 327.85°)
OKLaboklab(51.23% 0.1704 -0.1063)
OKLCHoklch(51.23% 0.201 328)
XYZxyz(21.3488, 11.4616, 33.8820)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F299F #299F29
analogous
#64299F #9F299F #9F2964
triadic
#9F299F #9F9F29 #299F9F
tetradic
#9F299F #9F6429 #299F29 #29649F
square
#9F299F #9F6429 #299F29 #29649F
split-complementary
#9F299F #649F29 #299F64
monochromatic
#3E103E #6E1C6E #9F299F #CC39CC #D96AD9

Accessibility & contrast

On white

6.38
#9F299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F299F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F299F#FFFFFF#000000##FFFFFF
##9F299F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#A43C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f299f;
/* rgb */ color: rgb(159, 41, 159);
/* oklch */ color: oklch(51.2% 0.201 328.0);
Tailwind
colors: {
  custom: {
    50: '#bf70bc',
    500: '#9f299f',
    950: '#000000',
  },
}
SCSS
$custom: #9f299f;
$custom-light: #bf70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f299f",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.20084,
    "h": 328
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#9F299F
secondary
#65BF65
accent
#E24646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F299F

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

Preview Lab → · Contrast checker → · Palette generator →

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