#9D239A#9D239A

#9D239A is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.202 H 329.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D239A
RGBrgb(157, 35, 154)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 62%)
CMYKcmyk(0%, 77.7%, 1.9%, 38.4%)
CIE-LABlab(39.08, 61.65, -37.40)
CIE-LCHlch(39.08, 72.11, 328.76°)
OKLaboklab(50.16% 0.1735 -0.1035)
OKLCHoklch(50.16% 0.202 329.2)
XYZxyz(20.3382, 10.7048, 31.5606)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D239A #239D26
analogous
#63239D #9D239A #9D235D
triadic
#9D239A #9A9D23 #239A9D
tetradic
#9D239A #9D6323 #239D26 #235D9D
square
#9D239A #9D6323 #239D26 #235D9D
split-complementary
#9D239A #5D9D23 #239D63
monochromatic
#390D38 #6B1869 #9D239A #CF2ECB #DB5FD8

Accessibility & contrast

On white

6.69
#9D239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D239A
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D239A#FFFFFF#000000##FFFFFF
##9D239A1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529D
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#A3365E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d239a;
/* rgb */ color: rgb(157, 35, 154);
/* oklch */ color: oklch(50.2% 0.202 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6db8',
    500: '#9d239a',
    950: '#000000',
  },
}
SCSS
$custom: #9d239a;
$custom-light: #be6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d239a",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 301.475,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.20206,
    "h": 329.2
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#9D239A
secondary
#5CC05E
accent
#E74541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D239A

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

Preview Lab → · Contrast checker → · Palette generator →

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