#9D23CA#9D23CA

#9D23CA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.4% C 0.240 H 314.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D23CA
RGBrgb(157, 35, 202)
HSLhsl(284, 70%, 46%)
HSVhsv(284, 83%, 79%)
CMYKcmyk(22.3%, 82.7%, 0%, 20.8%)
CIE-LABlab(42.21, 70.16, -60.81)
CIE-LCHlch(42.21, 92.85, 319.08°)
OKLaboklab(53.36% 0.1676 -0.172)
OKLCHoklch(53.36% 0.24 314.2)
XYZxyz(25.1645, 12.6353, 56.9789)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D23CA #50CA23
analogous
#4923CA #9D23CA #CA23A4
triadic
#9D23CA #CA9D23 #23CA9D
tetradic
#9D23CA #CA4923 #50CA23 #23A4CA
square
#9D23CA #CA4923 #50CA23 #23A4CA
split-complementary
#9D23CA #A4CA23 #23CA49
monochromatic
#4C1162 #741A96 #9D23CA #B84AE0 #CC7FE9

Accessibility & contrast

On white

5.95
#9D23CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9D23CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D23CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D23CA#FFFFFF#000000##FFFFFF
##9D23CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0C66C7
Tritanopia (blue-blind)
#994E79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d23ca;
/* rgb */ color: rgb(157, 35, 202);
/* oklch */ color: oklch(53.4% 0.240 314.2);
Tailwind
colors: {
  custom: {
    50: '#bf6fdb',
    500: '#9d23ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d23ca;
$custom-light: #bf6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d23ca",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 202
  },
  "hsl": {
    "h": 283.832,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.24014,
    "h": 314.2
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#9D23CA
secondary
#90D178
accent
#ED3B6B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9D23CA

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

Preview Lab → · Contrast checker → · Palette generator →

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