#8F23A6#8F23A6

#8F23A6 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.206 H 319.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F23A6
RGBrgb(143, 35, 166)
HSLhsl(289, 65%, 39%)
HSVhsv(289, 79%, 65%)
CMYKcmyk(13.9%, 78.9%, 0%, 34.9%)
CIE-LABlab(37.47, 60.89, -47.33)
CIE-LCHlch(37.47, 77.12, 322.14°)
OKLaboklab(48.81% 0.1568 -0.1329)
OKLCHoklch(48.81% 0.206 319.7)
XYZxyz(18.8108, 9.7958, 36.9690)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23A6 #3AA623
analogous
#4E23A6 #8F23A6 #A6237B
triadic
#8F23A6 #A68F23 #23A68F
tetradic
#8F23A6 #A64E23 #3AA623 #237BA6
square
#8F23A6 #A64E23 #3AA623 #237BA6
split-complementary
#8F23A6 #7BA623 #23A64E
monochromatic
#380E41 #631873 #8F23A6 #B732D4 #C965DF

Accessibility & contrast

On white

7.10
#8F23A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F23A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F23A6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23A6#FFFFFF#000000##FFFFFF
##8F23A61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2F5CA3
Tritanopia (blue-blind)
#8F3F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f23a6;
/* rgb */ color: rgb(143, 35, 166);
/* oklch */ color: oklch(48.8% 0.206 319.7);
Tailwind
colors: {
  custom: {
    50: '#b46bc1',
    500: '#8f23a6',
    950: '#000000',
  },
}
SCSS
$custom: #8f23a6;
$custom-light: #b46bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23a6",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 289.466,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.20556,
    "h": 319.7
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#8F23A6
secondary
#72C461
accent
#E8405D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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