#9A23AF#9A23AF

#9A23AF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.217 H 321.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9A23AF
RGBrgb(154, 35, 175)
HSLhsl(291, 67%, 41%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(12%, 80%, 0%, 31.4%)
CIE-LABlab(39.86, 64.64, -48.77)
CIE-LCHlch(39.86, 80.97, 322.97°)
OKLaboklab(51.03% 0.1687 -0.1368)
OKLCHoklch(51.03% 0.217 321)
XYZxyz(21.6644, 11.1684, 41.5637)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A23AF #38AF23
analogous
#5423AF #9A23AF #AF237E
triadic
#9A23AF #AF9A23 #23AF9A
tetradic
#9A23AF #AF5423 #38AF23 #237EAF
square
#9A23AF #AF5423 #38AF23 #237EAF
split-complementary
#9A23AF #7EAF23 #23AF54
monochromatic
#400F49 #6D197C #9A23AF #BF38D7 #D06BE1

Accessibility & contrast

On white

6.49
#9A23AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9A23AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A23AF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A23AF#FFFFFF#000000##FFFFFF
##9A23AF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#9B416A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a23af;
/* rgb */ color: rgb(154, 35, 175);
/* oklch */ color: oklch(51.0% 0.217 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc6dc8',
    500: '#9a23af',
    950: '#000000',
  },
}
SCSS
$custom: #9a23af;
$custom-light: #bc6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a23af",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 291,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.21717,
    "h": 321
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#9A23AF
secondary
#75C766
accent
#EA3E58
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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