#9D23BC#9D23BC

#9D23BC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.229 H 318.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9D23BC
RGBrgb(157, 35, 188)
HSLhsl(288, 69%, 44%)
HSVhsv(288, 81%, 74%)
CMYKcmyk(16.5%, 81.4%, 0%, 26.3%)
CIE-LABlab(41.22, 67.55, -54.24)
CIE-LCHlch(41.22, 86.63, 321.24°)
OKLaboklab(52.36% 0.1703 -0.1527)
OKLCHoklch(52.36% 0.229 318.1)
XYZxyz(23.5815, 12.0021, 48.6417)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D23BC #42BC23
analogous
#5023BC #9D23BC #BC238E
triadic
#9D23BC #BC9D23 #23BC9D
tetradic
#9D23BC #BC5023 #42BC23 #238EBC
square
#9D23BC #BC5023 #42BC23 #238EBC
split-complementary
#9D23BC #8EBC23 #23BC50
monochromatic
#471055 #721988 #9D23BC #BC41DC #CE74E5

Accessibility & contrast

On white

6.18
#9D23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9D23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D23BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D23BC#FFFFFF#000000##FFFFFF
##9D23BC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#9C4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d23bc;
/* rgb */ color: rgb(157, 35, 188);
/* oklch */ color: oklch(52.4% 0.229 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ed1',
    500: '#9d23bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d23bc;
$custom-light: #bf6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d23bc",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 287.843,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.22875,
    "h": 318.1
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#9D23BC
secondary
#82CC6F
accent
#EB3C60
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9D23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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