#8A23A4#8A23A4

#8A23A4 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.202 H 318.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8A23A4
RGBrgb(138, 35, 164)
HSLhsl(288, 65%, 39%)
HSVhsv(288, 79%, 64%)
CMYKcmyk(15.9%, 78.7%, 0%, 35.7%)
CIE-LABlab(36.53, 59.55, -47.69)
CIE-LCHlch(36.53, 76.29, 321.31°)
OKLaboklab(47.94% 0.151 -0.1341)
OKLCHoklch(47.94% 0.202 318.4)
XYZxyz(17.7822, 9.2865, 35.9706)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23A4 #3DA423
analogous
#4A23A4 #8A23A4 #A4237E
triadic
#8A23A4 #A48A23 #23A48A
tetradic
#8A23A4 #A44A23 #3DA423 #237EA4
square
#8A23A4 #A44A23 #3DA423 #237EA4
split-complementary
#8A23A4 #7EA423 #23A44A
monochromatic
#350D3F #601872 #8A23A4 #B231D3 #C564DE

Accessibility & contrast

On white

7.35
#8A23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A23A4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23A4#FFFFFF#000000##FFFFFF
##8A23A41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#894063
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a23a4;
/* rgb */ color: rgb(138, 35, 164);
/* oklch */ color: oklch(47.9% 0.202 318.4);
Tailwind
colors: {
  custom: {
    50: '#b06bc0',
    500: '#8a23a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a23a4;
$custom-light: #b06bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23a4",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 287.907,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.20197,
    "h": 318.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#8A23A4
secondary
#74C360
accent
#E84062
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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