#9D23AE#9D23AE

#9D23AE is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.218 H 322.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D23AE
RGBrgb(157, 35, 174)
HSLhsl(293, 67%, 41%)
HSVhsv(293, 80%, 68%)
CMYKcmyk(9.8%, 79.9%, 0%, 31.8%)
CIE-LABlab(40.29, 65.03, -47.46)
CIE-LCHlch(40.29, 80.51, 323.88°)
OKLaboklab(51.41% 0.1723 -0.1329)
OKLCHoklch(51.41% 0.218 322.4)
XYZxyz(22.1449, 11.4275, 41.0755)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D23AE #34AE23
analogous
#5723AE #9D23AE #AE2379
triadic
#9D23AE #AE9D23 #23AE9D
tetradic
#9D23AE #AE5723 #34AE23 #2379AE
square
#9D23AE #AE5723 #34AE23 #2379AE
split-complementary
#9D23AE #79AE23 #23AE57
monochromatic
#410F48 #6F197B #9D23AE #C337D7 #D36AE1

Accessibility & contrast

On white

6.39
#9D23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D23AE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D23AE#FFFFFF#000000##FFFFFF
##9D23AE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#3A63AB
Tritanopia (blue-blind)
#9F4069
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d23ae;
/* rgb */ color: rgb(157, 35, 174);
/* oklch */ color: oklch(51.4% 0.218 322.4);
Tailwind
colors: {
  custom: {
    50: '#be6ec7',
    500: '#9d23ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d23ae;
$custom-light: #be6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d23ae",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 292.662,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.21754,
    "h": 322.4
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#9D23AE
secondary
#72C766
accent
#E93E53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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