#8F23AE#8F23AE

#8F23AE is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.212 H 317.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F23AE
RGBrgb(143, 35, 174)
HSLhsl(287, 67%, 41%)
HSVhsv(287, 80%, 68%)
CMYKcmyk(17.8%, 79.9%, 0%, 31.8%)
CIE-LABlab(38.02, 62.40, -51.23)
CIE-LCHlch(38.02, 80.74, 320.61°)
OKLaboklab(49.36% 0.1556 -0.1444)
OKLCHoklch(49.36% 0.212 317.1)
XYZxyz(19.5676, 10.0986, 40.9547)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23AE #42AE23
analogous
#4A23AE #8F23AE #AE2387
triadic
#8F23AE #AE8F23 #23AE8F
tetradic
#8F23AE #AE4A23 #42AE23 #2387AE
square
#8F23AE #AE4A23 #42AE23 #2387AE
split-complementary
#8F23AE #87AE23 #23AE4A
monochromatic
#3B0F48 #65197B #8F23AE #B337D7 #C76AE1

Accessibility & contrast

On white

6.95
#8F23AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F23AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F23AE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23AE#FFFFFF#000000##FFFFFF
##8F23AE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#255DAB
Tritanopia (blue-blind)
#8D4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f23ae;
/* rgb */ color: rgb(143, 35, 174);
/* oklch */ color: oklch(49.4% 0.212 317.1);
Tailwind
colors: {
  custom: {
    50: '#b46cc7',
    500: '#8f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f23ae;
$custom-light: #b46cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23ae",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 286.619,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.21227,
    "h": 317.1
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#8F23AE
secondary
#7BC766
accent
#E93E65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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