#8C23AE#8C23AE

#8C23AE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.211 H 316.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8C23AE
RGBrgb(140, 35, 174)
HSLhsl(285, 67%, 41%)
HSVhsv(285, 80%, 68%)
CMYKcmyk(19.5%, 79.9%, 0%, 31.8%)
CIE-LABlab(37.54, 61.84, -52.03)
CIE-LCHlch(37.54, 80.82, 319.93°)
OKLaboklab(48.94% 0.1519 -0.1468)
OKLCHoklch(48.94% 0.211 316)
XYZxyz(19.0550, 9.8343, 40.9307)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C23AE #45AE23
analogous
#4723AE #8C23AE #AE238A
triadic
#8C23AE #AE8C23 #23AE8C
tetradic
#8C23AE #AE4723 #45AE23 #238AAE
square
#8C23AE #AE4723 #45AE23 #238AAE
split-complementary
#8C23AE #8AAE23 #23AE47
monochromatic
#3A0F48 #63197B #8C23AE #B037D7 #C46AE1

Accessibility & contrast

On white

7.08
#8C23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8C23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C23AE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C23AE#FFFFFF#000000##FFFFFF
##8C23AE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#205BAB
Tritanopia (blue-blind)
#8A4469
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c23ae;
/* rgb */ color: rgb(140, 35, 174);
/* oklch */ color: oklch(48.9% 0.211 316.0);
Tailwind
colors: {
  custom: {
    50: '#b26bc7',
    500: '#8c23ae',
    950: '#000000',
  },
}
SCSS
$custom: #8c23ae;
$custom-light: #b26bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c23ae",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 285.324,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48936,
    "c": 0.21122,
    "h": 316
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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