#9D299D#9D299D

#9D299D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.198 H 328.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D299D
RGBrgb(157, 41, 157)
HSLhsl(300, 59%, 39%)
HSVhsv(300, 74%, 62%)
CMYKcmyk(0%, 73.9%, 0%, 38.4%)
CIE-LABlab(39.90, 60.29, -37.91)
CIE-LCHlch(39.90, 71.21, 327.84°)
OKLaboklab(50.8% 0.1682 -0.105)
OKLCHoklch(50.8% 0.198 328)
XYZxyz(20.7831, 11.1898, 32.9570)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D299D #299D29
analogous
#63299D #9D299D #9D2963
triadic
#9D299D #9D9D29 #299D9D
tetradic
#9D299D #9D6329 #299D29 #29639D
square
#9D299D #9D6329 #299D29 #29639D
split-complementary
#9D299D #639D29 #299D63
monochromatic
#3C103C #6C1C6C #9D299D #CB38CB #D869D8

Accessibility & contrast

On white

6.49
#9D299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D299D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D299D#FFFFFF#000000##FFFFFF
##9D299D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#49639A
Tritanopia (blue-blind)
#A23B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d299d;
/* rgb */ color: rgb(157, 41, 157);
/* oklch */ color: oklch(50.8% 0.198 328.0);
Tailwind
colors: {
  custom: {
    50: '#be6fba',
    500: '#9d299d',
    950: '#000000',
  },
}
SCSS
$custom: #9d299d;
$custom-light: #be6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d299d",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.19831,
    "h": 328
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#9D299D
secondary
#64BE64
accent
#E24646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D299D

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

Preview Lab → · Contrast checker → · Palette generator →

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