#9A23A0#9A23A0

#9A23A0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.205 H 325.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9A23A0
RGBrgb(154, 35, 160)
HSLhsl(297, 64%, 38%)
HSVhsv(297, 78%, 63%)
CMYKcmyk(3.8%, 78.1%, 0%, 37.3%)
CIE-LABlab(38.92, 62.02, -41.31)
CIE-LCHlch(38.92, 74.52, 326.34°)
OKLaboklab(50.06% 0.1701 -0.115)
OKLCHoklch(50.06% 0.205 325.9)
XYZxyz(20.2722, 10.6116, 34.2314)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A23A0 #29A023
analogous
#5B23A0 #9A23A0 #A02367
triadic
#9A23A0 #A09A23 #23A09A
tetradic
#9A23A0 #A05B23 #29A023 #2367A0
square
#9A23A0 #A05B23 #29A023 #2367A0
split-complementary
#9A23A0 #67A023 #23A05B
monochromatic
#390D3C #6A186E #9A23A0 #CA2FD1 #D761DC

Accessibility & contrast

On white

6.73
#9A23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A23A0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A23A0#FFFFFF#000000##FFFFFF
##9A23A01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#41619D
Tritanopia (blue-blind)
#9E3A61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a23a0;
/* rgb */ color: rgb(154, 35, 160);
/* oklch */ color: oklch(50.1% 0.205 325.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dbd',
    500: '#9a23a0',
    950: '#000000',
  },
}
SCSS
$custom: #9a23a0;
$custom-light: #bc6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a23a0",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 297.12,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.20528,
    "h": 325.9
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#9A23A0
secondary
#62C15D
accent
#E74149
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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