#9A23BC#9A23BC

#9A23BC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.228 H 317.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9A23BC
RGBrgb(154, 35, 188)
HSLhsl(287, 69%, 44%)
HSVhsv(287, 81%, 74%)
CMYKcmyk(18.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(40.74, 67.02, -55.03)
CIE-LCHlch(40.74, 86.72, 320.61°)
OKLaboklab(51.93% 0.1667 -0.1552)
OKLCHoklch(51.93% 0.228 317)
XYZxyz(23.0032, 11.7039, 48.6146)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A23BC #45BC23
analogous
#4D23BC #9A23BC #BC2391
triadic
#9A23BC #BC9A23 #23BC9A
tetradic
#9A23BC #BC4D23 #45BC23 #2391BC
square
#9A23BC #BC4D23 #45BC23 #2391BC
split-complementary
#9A23BC #91BC23 #23BC4D
monochromatic
#451055 #701988 #9A23BC #B941DC #CC74E5

Accessibility & contrast

On white

6.29
#9A23BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9A23BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A23BC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A23BC#FFFFFF#000000##FFFFFF
##9A23BC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2563B9
Tritanopia (blue-blind)
#984871
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a23bc;
/* rgb */ color: rgb(154, 35, 188);
/* oklch */ color: oklch(51.9% 0.228 317.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ed1',
    500: '#9a23bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a23bc;
$custom-light: #bc6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a23bc",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 286.667,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51931,
    "c": 0.22771,
    "h": 317
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#9A23BC
secondary
#83CC6F
accent
#EB3C63
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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