#9D239D#9D239D

#9D239D is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.204 H 328.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9D239D
RGBrgb(157, 35, 157)
HSLhsl(300, 64%, 38%)
HSVhsv(300, 78%, 62%)
CMYKcmyk(0%, 77.7%, 0%, 38.4%)
CIE-LABlab(39.25, 62.14, -38.94)
CIE-LCHlch(39.25, 73.33, 327.93°)
OKLaboklab(50.34% 0.1735 -0.108)
OKLCHoklch(50.34% 0.204 328.1)
XYZxyz(20.5912, 10.8060, 32.8930)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D239D #239D23
analogous
#60239D #9D239D #9D2360
triadic
#9D239D #9D9D23 #239D9D
tetradic
#9D239D #9D6023 #239D23 #23609D
square
#9D239D #9D6023 #239D23 #23609D
split-complementary
#9D239D #609D23 #239D60
monochromatic
#390D39 #6B186B #9D239D #CF2ECF #DB5FDB

Accessibility & contrast

On white

6.64
#9D239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9D239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D239D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D239D#FFFFFF#000000##FFFFFF
##9D239D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#A2385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d239d;
/* rgb */ color: rgb(157, 35, 157);
/* oklch */ color: oklch(50.3% 0.204 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6dba',
    500: '#9d239d',
    950: '#000000',
  },
}
SCSS
$custom: #9d239d;
$custom-light: #be6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d239d",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.20433,
    "h": 328.1
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#9D239D
secondary
#5CC05C
accent
#E74141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D239D

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

Preview Lab → · Contrast checker → · Palette generator →

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