#8A23AE#8A23AE

#8A23AE is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.211 H 315.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A23AE
RGBrgb(138, 35, 174)
HSLhsl(284, 67%, 41%)
HSVhsv(284, 80%, 68%)
CMYKcmyk(20.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(37.23, 61.48, -52.55)
CIE-LCHlch(37.23, 80.88, 319.48°)
OKLaboklab(48.65% 0.1494 -0.1484)
OKLCHoklch(48.65% 0.211 315.2)
XYZxyz(18.7210, 9.6620, 40.9150)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23AE #47AE23
analogous
#4423AE #8A23AE #AE238C
triadic
#8A23AE #AE8A23 #23AE8A
tetradic
#8A23AE #AE4423 #47AE23 #238CAE
square
#8A23AE #AE4423 #47AE23 #238CAE
split-complementary
#8A23AE #8CAE23 #23AE44
monochromatic
#390F48 #62197B #8A23AE #AE37D7 #C26AE1

Accessibility & contrast

On white

7.16
#8A23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A23AE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23AE#FFFFFF#000000##FFFFFF
##8A23AE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#874469
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a23ae;
/* rgb */ color: rgb(138, 35, 174);
/* oklch */ color: oklch(48.7% 0.211 315.2);
Tailwind
colors: {
  custom: {
    50: '#b16bc7',
    500: '#8a23ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a23ae;
$custom-light: #b16bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23ae",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 284.46,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.21054,
    "h": 315.2
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#8A23AE
secondary
#7FC766
accent
#E93E6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A23AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A23AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva