#9D299B#9D299B

#9D299B is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.197 H 328.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D299B
RGBrgb(157, 41, 155)
HSLhsl(301, 59%, 39%)
HSVhsv(301, 74%, 62%)
CMYKcmyk(0%, 73.9%, 1.3%, 38.4%)
CIE-LABlab(39.79, 59.95, -36.88)
CIE-LCHlch(39.79, 70.39, 328.40°)
OKLaboklab(50.69% 0.1682 -0.102)
OKLCHoklch(50.69% 0.197 328.8)
XYZxyz(20.6138, 11.1221, 32.0651)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D299B #299D2B
analogous
#65299D #9D299B #9D2961
triadic
#9D299B #9B9D29 #299B9D
tetradic
#9D299B #9D6529 #299D2B #29619D
square
#9D299B #9D6529 #299D2B #29619D
split-complementary
#9D299B #619D29 #299D65
monochromatic
#3C103B #6C1C6B #9D299B #CB38C9 #D869D6

Accessibility & contrast

On white

6.51
#9D299B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9D299B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D299B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D299B#FFFFFF#000000##FFFFFF
##9D299B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#4A6398
Tritanopia (blue-blind)
#A23A60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d299b;
/* rgb */ color: rgb(157, 41, 155);
/* oklch */ color: oklch(50.7% 0.197 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6fb9',
    500: '#9d299b',
    950: '#000000',
  },
}
SCSS
$custom: #9d299b;
$custom-light: #be6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d299b",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 301.034,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.19675,
    "h": 328.8
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#9D299B
secondary
#64BE65
accent
#E24946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D299B

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

Preview Lab → · Contrast checker → · Palette generator →

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