#9D299E#9D299E

#9D299E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.199 H 327.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9D299E
RGBrgb(157, 41, 158)
HSLhsl(299, 59%, 39%)
HSVhsv(299, 74%, 62%)
CMYKcmyk(0.6%, 74.1%, 0%, 38%)
CIE-LABlab(39.96, 60.45, -38.42)
CIE-LCHlch(39.96, 71.63, 327.56°)
OKLaboklab(50.86% 0.1682 -0.1065)
OKLCHoklch(50.86% 0.199 327.7)
XYZxyz(20.8688, 11.2241, 33.4084)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D299E #2A9E29
analogous
#63299E #9D299E #9E2965
triadic
#9D299E #9E9D29 #299E9D
tetradic
#9D299E #9E6329 #2A9E29 #29659E
square
#9D299E #9E6329 #2A9E29 #29659E
split-complementary
#9D299E #659E29 #299E63
monochromatic
#3C103D #6D1C6D #9D299E #CA39CC #D769D8

Accessibility & contrast

On white

6.47
#9D299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D299E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D299E#FFFFFF#000000##FFFFFF
##9D299E1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A1
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#A23C61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d299e;
/* rgb */ color: rgb(157, 41, 158);
/* oklch */ color: oklch(50.9% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#be6fbb',
    500: '#9d299e',
    950: '#000000',
  },
}
SCSS
$custom: #9d299e;
$custom-light: #be6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d299e",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 299.487,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.1991,
    "h": 327.7
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#9D299E
secondary
#65BF64
accent
#E24647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D299E

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

Preview Lab → · Contrast checker → · Palette generator →

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