#9A23A6#9A23A6

#9A23A6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.210 H 323.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9A23A6
RGBrgb(154, 35, 166)
HSLhsl(295, 65%, 39%)
HSVhsv(295, 79%, 65%)
CMYKcmyk(7.2%, 78.9%, 0%, 34.9%)
CIE-LABlab(39.29, 63.05, -44.32)
CIE-LCHlch(39.29, 77.07, 324.89°)
OKLaboklab(50.44% 0.1696 -0.1238)
OKLCHoklch(50.44% 0.21 323.9)
XYZxyz(20.8098, 10.8266, 37.0627)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A23A6 #2FA623
analogous
#5923A6 #9A23A6 #A62371
triadic
#9A23A6 #A69A23 #23A69A
tetradic
#9A23A6 #A65923 #2FA623 #2371A6
square
#9A23A6 #A65923 #2FA623 #2371A6
split-complementary
#9A23A6 #71A623 #23A659
monochromatic
#3C0E41 #6B1873 #9A23A6 #C532D4 #D365DF

Accessibility & contrast

On white

6.64
#9A23A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9A23A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A23A6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A23A6#FFFFFF#000000##FFFFFF
##9A23A61.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3D61A3
Tritanopia (blue-blind)
#9D3D65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a23a6;
/* rgb */ color: rgb(154, 35, 166);
/* oklch */ color: oklch(50.4% 0.210 323.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dc1',
    500: '#9a23a6',
    950: '#000000',
  },
}
SCSS
$custom: #9a23a6;
$custom-light: #bc6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a23a6",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 294.504,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.20999,
    "h": 323.9
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#9A23A6
secondary
#6AC461
accent
#E8404F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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