#8F36CC#8F36CC

#8F36CC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.220 H 307.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F36CC
RGBrgb(143, 54, 204)
HSLhsl(276, 60%, 51%)
HSVhsv(276, 74%, 80%)
CMYKcmyk(29.9%, 73.5%, 0%, 20%)
CIE-LABlab(42.52, 61.78, -61.56)
CIE-LCHlch(42.52, 87.22, 315.10°)
OKLaboklab(53.21% 0.1339 -0.1748)
OKLCHoklch(53.21% 0.22 307.4)
XYZxyz(23.5436, 12.8379, 58.3527)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36CC #73CC36
analogous
#4436CC #8F36CC #CC36BE
triadic
#8F36CC #CC8F36 #36CC8F
tetradic
#8F36CC #CC4436 #73CC36 #36BECC
square
#8F36CC #CC4436 #73CC36 #36BECC
split-complementary
#8F36CC #BECC36 #36CC44
monochromatic
#4B1B6C #6D289D #8F36CC #AA67D8 #C598E5

Accessibility & contrast

On white

5.89
#8F36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8F36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36CC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36CC#FFFFFF#000000##FFFFFF
##8F36CC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#855A7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f36cc;
/* rgb */ color: rgb(143, 54, 204);
/* oklch */ color: oklch(53.2% 0.220 307.4);
Tailwind
colors: {
  custom: {
    50: '#b576dc',
    500: '#8f36cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f36cc;
$custom-light: #b576dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36cc",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 275.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.2202,
    "h": 307.4
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#8F36CC
secondary
#A9D08E
accent
#E34585
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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