#8B23AE#8B23AE

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

Color values

HEX#8B23AE
RGBrgb(139, 35, 174)
HSLhsl(285, 67%, 41%)
HSVhsv(285, 80%, 68%)
CMYKcmyk(20.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(37.39, 61.66, -52.29)
CIE-LCHlch(37.39, 80.85, 319.70°)
OKLaboklab(48.79% 0.1506 -0.1476)
OKLCHoklch(48.79% 0.211 315.6)
XYZxyz(18.8872, 9.7478, 40.9228)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23AE #46AE23
analogous
#4523AE #8B23AE #AE238B
triadic
#8B23AE #AE8B23 #23AE8B
tetradic
#8B23AE #AE4523 #46AE23 #238BAE
square
#8B23AE #AE4523 #46AE23 #238BAE
split-complementary
#8B23AE #8BAE23 #23AE45
monochromatic
#3A0F48 #62197B #8B23AE #AF37D7 #C36AE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B23AE#FFFFFF#000000##FFFFFF
##8B23AE1.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)
#0052B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#884469
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b23ae;
/* rgb */ color: rgb(139, 35, 174);
/* oklch */ color: oklch(48.8% 0.211 315.6);
Tailwind
colors: {
  custom: {
    50: '#b16bc7',
    500: '#8b23ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b23ae;
$custom-light: #b16bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23ae",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 284.892,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.21088,
    "h": 315.6
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#8B23AE
secondary
#7EC766
accent
#E93E69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8B23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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