#9D239B#9D239B

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

Color values

HEX#9D239B
RGBrgb(157, 35, 155)
HSLhsl(301, 64%, 38%)
HSVhsv(301, 78%, 62%)
CMYKcmyk(0%, 77.7%, 1.3%, 38.4%)
CIE-LABlab(39.14, 61.82, -37.91)
CIE-LCHlch(39.14, 72.52, 328.48°)
OKLaboklab(50.22% 0.1735 -0.105)
OKLCHoklch(50.22% 0.203 328.8)
XYZxyz(20.4219, 10.7383, 32.0011)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D239B #239D25
analogous
#62239D #9D239B #9D235E
triadic
#9D239B #9B9D23 #239B9D
tetradic
#9D239B #9D6223 #239D25 #235E9D
square
#9D239B #9D6223 #239D25 #235E9D
split-complementary
#9D239B #5E9D23 #239D62
monochromatic
#390D38 #6B186A #9D239B #CF2ECC #DB5FD9

Accessibility & contrast

On white

6.67
#9D239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D239B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D239B#FFFFFF#000000##FFFFFF
##9D239B1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#A2375E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d239b;
/* rgb */ color: rgb(157, 35, 155);
/* oklch */ color: oklch(50.2% 0.203 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6db9',
    500: '#9d239b',
    950: '#000000',
  },
}
SCSS
$custom: #9d239b;
$custom-light: #be6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d239b",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 300.984,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.20281,
    "h": 328.8
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#9D239B
secondary
#5CC05D
accent
#E74441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D239B

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

Preview Lab → · Contrast checker → · Palette generator →

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