#8F23B2#8F23B2

#8F23B2 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.216 H 315.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F23B2
RGBrgb(143, 35, 178)
HSLhsl(285, 67%, 42%)
HSVhsv(285, 80%, 70%)
CMYKcmyk(19.7%, 80.3%, 0%, 30.2%)
CIE-LABlab(38.30, 63.16, -53.16)
CIE-LCHlch(38.30, 82.56, 319.92°)
OKLaboklab(49.65% 0.1549 -0.15)
OKLCHoklch(49.65% 0.216 315.9)
XYZxyz(19.9633, 10.2569, 43.0390)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23B2 #46B223
analogous
#4823B2 #8F23B2 #B2238E
triadic
#8F23B2 #B28F23 #23B28F
tetradic
#8F23B2 #B24823 #46B223 #238EB2
square
#8F23B2 #B24823 #46B223 #238EB2
split-complementary
#8F23B2 #8EB223 #23B248
monochromatic
#3D0F4C #66197F #8F23B2 #B23AD8 #C66DE2

Accessibility & contrast

On white

6.88
#8F23B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F23B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F23B2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23B2#FFFFFF#000000##FFFFFF
##8F23B21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#8C456B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f23b2;
/* rgb */ color: rgb(143, 35, 178);
/* oklch */ color: oklch(49.7% 0.216 315.9);
Tailwind
colors: {
  custom: {
    50: '#b46cca',
    500: '#8f23b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f23b2;
$custom-light: #b46cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23b2",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 285.315,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.21565,
    "h": 315.9
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#8F23B2
secondary
#80C968
accent
#EA3E68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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