#9D239E#9D239E

#9D239E is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.205 H 327.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9D239E
RGBrgb(157, 35, 158)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 62%)
CMYKcmyk(0.6%, 77.8%, 0%, 38%)
CIE-LABlab(39.31, 62.31, -39.45)
CIE-LCHlch(39.31, 73.74, 327.66°)
OKLaboklab(50.4% 0.1734 -0.1095)
OKLCHoklch(50.4% 0.205 327.7)
XYZxyz(20.6769, 10.8403, 33.3445)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D239E #249E23
analogous
#5F239E #9D239E #9E2362
triadic
#9D239E #9E9D23 #239E9D
tetradic
#9D239E #9E5F23 #249E23 #23629E
square
#9D239E #9E5F23 #249E23 #23629E
split-complementary
#9D239E #629E23 #239E5F
monochromatic
#390D3A #6B186C #9D239E #CF2ED0 #DB60DC

Accessibility & contrast

On white

6.63
#9D239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D239E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D239E#FFFFFF#000000##FFFFFF
##9D239E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#A23860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d239e;
/* rgb */ color: rgb(157, 35, 158);
/* oklch */ color: oklch(50.4% 0.205 327.7);
Tailwind
colors: {
  custom: {
    50: '#be6dbb',
    500: '#9d239e',
    950: '#000000',
  },
}
SCSS
$custom: #9d239e;
$custom-light: #be6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d239e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 299.512,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.20509,
    "h": 327.7
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#9D239E
secondary
#5DC15C
accent
#E74142
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D239E

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

Preview Lab → · Contrast checker → · Palette generator →

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