#8A23A3#8A23A3

#8A23A3 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.201 H 318.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A23A3
RGBrgb(138, 35, 163)
HSLhsl(288, 65%, 39%)
HSVhsv(288, 79%, 64%)
CMYKcmyk(15.3%, 78.5%, 0%, 36.1%)
CIE-LABlab(36.46, 59.36, -47.20)
CIE-LCHlch(36.46, 75.83, 321.51°)
OKLaboklab(47.87% 0.1511 -0.1327)
OKLCHoklch(47.87% 0.201 318.7)
XYZxyz(17.6922, 9.2505, 35.4968)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23A3 #3CA323
analogous
#4A23A3 #8A23A3 #A3237C
triadic
#8A23A3 #A38A23 #23A38A
tetradic
#8A23A3 #A34A23 #3CA323 #237CA3
square
#8A23A3 #A34A23 #3CA323 #237CA3
split-complementary
#8A23A3 #7CA323 #23A34A
monochromatic
#350D3E #5F1871 #8A23A3 #B331D3 #C663DD

Accessibility & contrast

On white

7.37
#8A23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A23A3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23A3#FFFFFF#000000##FFFFFF
##8A23A31.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#8A3F63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a23a3;
/* rgb */ color: rgb(138, 35, 163);
/* oklch */ color: oklch(47.9% 0.201 318.7);
Tailwind
colors: {
  custom: {
    50: '#b06bbf',
    500: '#8a23a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a23a3;
$custom-light: #b06bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23a3",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 288.281,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4787,
    "c": 0.20112,
    "h": 318.7
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#8A23A3
secondary
#73C35F
accent
#E84061
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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