#8A23B0#8A23B0

#8A23B0 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.212 H 314.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A23B0
RGBrgb(138, 35, 176)
HSLhsl(284, 67%, 41%)
HSVhsv(284, 80%, 69%)
CMYKcmyk(21.6%, 80.1%, 0%, 31%)
CIE-LABlab(37.37, 61.87, -53.51)
CIE-LCHlch(37.37, 81.80, 319.15°)
OKLaboklab(48.8% 0.149 -0.1512)
OKLCHoklch(48.8% 0.212 314.6)
XYZxyz(18.9174, 9.7406, 41.9495)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23B0 #49B023
analogous
#4423B0 #8A23B0 #B02390
triadic
#8A23B0 #B08A23 #23B08A
tetradic
#8A23B0 #B04423 #49B023 #2390B0
square
#8A23B0 #B04423 #49B023 #2390B0
split-complementary
#8A23B0 #90B023 #23B044
monochromatic
#3A0F4A #62197D #8A23B0 #AD39D8 #C26CE2

Accessibility & contrast

On white

7.12
#8A23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A23B0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23B0#FFFFFF#000000##FFFFFF
##8A23B01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#175AAD
Tritanopia (blue-blind)
#86456A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a23b0;
/* rgb */ color: rgb(138, 35, 176);
/* oklch */ color: oklch(48.8% 0.212 314.6);
Tailwind
colors: {
  custom: {
    50: '#b16bc8',
    500: '#8a23b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a23b0;
$custom-light: #b16bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23b0",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 283.83,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.21227,
    "h": 314.6
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#8A23B0
secondary
#81C867
accent
#EA3E6C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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