#8F32B2#8F32B2

#8F32B2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.200 H 315.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F32B2
RGBrgb(143, 50, 178)
HSLhsl(284, 56%, 45%)
HSVhsv(284, 72%, 70%)
CMYKcmyk(19.7%, 71.9%, 0%, 30.2%)
CIE-LABlab(40.14, 57.88, -50.19)
CIE-LCHlch(40.14, 76.61, 319.07°)
OKLaboklab(50.95% 0.1416 -0.1414)
OKLCHoklch(50.95% 0.2 315)
XYZxyz(20.5029, 11.3359, 43.2189)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F32B2 #55B232
analogous
#4F32B2 #8F32B2 #B23295
triadic
#8F32B2 #B28F32 #32B28F
tetradic
#8F32B2 #B24F32 #55B232 #3295B2
square
#8F32B2 #B24F32 #55B232 #3295B2
split-complementary
#8F32B2 #95B232 #32B24F
monochromatic
#421752 #692582 #8F32B2 #AD53CF #C482DC

Accessibility & contrast

On white

6.43
#8F32B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F32B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F32B2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F32B2#FFFFFF#000000##FFFFFF
##8F32B21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#8C4D6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f32b2;
/* rgb */ color: rgb(143, 50, 178);
/* oklch */ color: oklch(51.0% 0.200 315.0);
Tailwind
colors: {
  custom: {
    50: '#b472ca',
    500: '#8f32b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f32b2;
$custom-light: #b472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f32b2",
  "rgb": {
    "r": 143,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 283.594,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.20009,
    "h": 315
  },
  "luminance": 0.11335
}

Semantic roles & 50–950 ramp

primary
#8F32B2
secondary
#8FC57B
accent
#DF4872
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8F32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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