#9A23A9#9A23A9

#9A23A9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.212 H 322.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9A23A9
RGBrgb(154, 35, 169)
HSLhsl(293, 66%, 40%)
HSVhsv(293, 79%, 66%)
CMYKcmyk(8.9%, 79.3%, 0%, 33.7%)
CIE-LABlab(39.48, 63.57, -45.81)
CIE-LCHlch(39.48, 78.36, 324.22°)
OKLaboklab(50.64% 0.1694 -0.1281)
OKLCHoklch(50.64% 0.212 322.9)
XYZxyz(21.0882, 10.9379, 38.5289)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A23A9 #32A923
analogous
#5723A9 #9A23A9 #A92375
triadic
#9A23A9 #A99A23 #23A99A
tetradic
#9A23A9 #A95723 #32A923 #2375A9
square
#9A23A9 #A95723 #32A923 #2375A9
split-complementary
#9A23A9 #75A923 #23A957
monochromatic
#3E0E44 #6C1976 #9A23A9 #C334D5 #D267DF

Accessibility & contrast

On white

6.59
#9A23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9A23A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A23A9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A23A9#FFFFFF#000000##FFFFFF
##9A23A91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3A61A6
Tritanopia (blue-blind)
#9C3E66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a23a9;
/* rgb */ color: rgb(154, 35, 169);
/* oklch */ color: oklch(50.6% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dc3',
    500: '#9a23a9',
    950: '#000000',
  },
}
SCSS
$custom: #9a23a9;
$custom-light: #bc6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a23a9",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 293.284,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.21237,
    "h": 322.9
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#9A23A9
secondary
#6EC563
accent
#E93F52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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