#9D299F#9D299F

#9D299F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.200 H 327.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D299F
RGBrgb(157, 41, 159)
HSLhsl(299, 59%, 39%)
HSVhsv(299, 74%, 62%)
CMYKcmyk(1.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(40.01, 60.62, -38.93)
CIE-LCHlch(40.01, 72.05, 327.29°)
OKLaboklab(50.92% 0.1682 -0.108)
OKLCHoklch(50.92% 0.2 327.3)
XYZxyz(20.9553, 11.2587, 33.8636)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D299F #2B9F29
analogous
#62299F #9D299F #9F2966
triadic
#9D299F #9F9D29 #299F9D
tetradic
#9D299F #9F6229 #2B9F29 #29669F
square
#9D299F #9F6229 #2B9F29 #29669F
split-complementary
#9D299F #669F29 #299F62
monochromatic
#3D103E #6D1C6E #9D299F #CA39CC #D76AD9

Accessibility & contrast

On white

6.46
#9D299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D299F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D299F#FFFFFF#000000##FFFFFF
##9D299F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A23C62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d299f;
/* rgb */ color: rgb(157, 41, 159);
/* oklch */ color: oklch(50.9% 0.200 327.3);
Tailwind
colors: {
  custom: {
    50: '#be6fbc',
    500: '#9d299f',
    950: '#000000',
  },
}
SCSS
$custom: #9d299f;
$custom-light: #be6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d299f",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 298.983,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.19989,
    "h": 327.3
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#9D299F
secondary
#66BF65
accent
#E24648
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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