#9D23A0#9D23A0

#9D23A0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.207 H 327.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9D23A0
RGBrgb(157, 35, 160)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 63%)
CMYKcmyk(1.9%, 78.1%, 0%, 37.3%)
CIE-LABlab(39.43, 62.64, -40.46)
CIE-LCHlch(39.43, 74.57, 327.14°)
OKLaboklab(50.52% 0.1734 -0.1124)
OKLCHoklch(50.52% 0.207 327)
XYZxyz(20.8505, 10.9097, 34.2585)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D23A0 #26A023
analogous
#5E23A0 #9D23A0 #A02364
triadic
#9D23A0 #A09D23 #23A09D
tetradic
#9D23A0 #A05E23 #26A023 #2364A0
square
#9D23A0 #A05E23 #26A023 #2364A0
split-complementary
#9D23A0 #64A023 #23A05E
monochromatic
#3A0D3C #6C186E #9D23A0 #CE2FD1 #D961DC

Accessibility & contrast

On white

6.60
#9D23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D23A0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D23A0#FFFFFF#000000##FFFFFF
##9D23A01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#A23961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d23a0;
/* rgb */ color: rgb(157, 35, 160);
/* oklch */ color: oklch(50.5% 0.207 327.0);
Tailwind
colors: {
  custom: {
    50: '#be6dbd',
    500: '#9d23a0',
    950: '#000000',
  },
}
SCSS
$custom: #9d23a0;
$custom-light: #be6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d23a0",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 298.56,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.20662,
    "h": 327
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#9D23A0
secondary
#60C15D
accent
#E74145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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