#8F23A0#8F23A0

#8F23A0 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.201 H 321.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8F23A0
RGBrgb(143, 35, 160)
HSLhsl(292, 64%, 38%)
HSVhsv(292, 78%, 63%)
CMYKcmyk(10.6%, 78.1%, 0%, 37.3%)
CIE-LABlab(37.08, 59.79, -44.35)
CIE-LCHlch(37.08, 74.44, 323.43°)
OKLaboklab(48.4% 0.1575 -0.1242)
OKLCHoklch(48.4% 0.201 321.7)
XYZxyz(18.2732, 9.5808, 34.1377)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23A0 #34A023
analogous
#5023A0 #8F23A0 #A02372
triadic
#8F23A0 #A08F23 #23A08F
tetradic
#8F23A0 #A05023 #34A023 #2372A0
square
#8F23A0 #A05023 #34A023 #2372A0
split-complementary
#8F23A0 #72A023 #23A050
monochromatic
#350D3C #62186E #8F23A0 #BB2FD1 #CC61DC

Accessibility & contrast

On white

7.20
#8F23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F23A0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23A0#FFFFFF#000000##FFFFFF
##8F23A01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#355B9D
Tritanopia (blue-blind)
#903D61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f23a0;
/* rgb */ color: rgb(143, 35, 160);
/* oklch */ color: oklch(48.4% 0.201 321.7);
Tailwind
colors: {
  custom: {
    50: '#b46bbd',
    500: '#8f23a0',
    950: '#000000',
  },
}
SCSS
$custom: #8f23a0;
$custom-light: #b46bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23a0",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 291.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.20058,
    "h": 321.7
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#8F23A0
secondary
#6BC15D
accent
#E74157
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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