#8F36C8#8F36C8

#8F36C8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.216 H 308.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F36C8
RGBrgb(143, 54, 200)
HSLhsl(277, 57%, 50%)
HSVhsv(277, 73%, 78%)
CMYKcmyk(28.5%, 73%, 0%, 21.6%)
CIE-LABlab(42.23, 60.91, -59.71)
CIE-LCHlch(42.23, 85.29, 315.57°)
OKLaboklab(52.92% 0.1346 -0.1694)
OKLCHoklch(52.92% 0.216 308.5)
XYZxyz(23.0700, 12.6485, 55.8585)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36C8 #6FC836
analogous
#4636C8 #8F36C8 #C836B8
triadic
#8F36C8 #C88F36 #36C88F
tetradic
#8F36C8 #C84636 #6FC836 #36B8C8
square
#8F36C8 #C84636 #6FC836 #36B8C8
split-complementary
#8F36C8 #B8C836 #36C846
monochromatic
#4A1C68 #6D2998 #8F36C8 #AA66D6 #C596E3

Accessibility & contrast

On white

5.95
#8F36C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F36C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36C8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36C8#FFFFFF#000000##FFFFFF
##8F36C81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#86587C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f36c8;
/* rgb */ color: rgb(143, 54, 200);
/* oklch */ color: oklch(52.9% 0.216 308.5);
Tailwind
colors: {
  custom: {
    50: '#b575da',
    500: '#8f36c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f36c8;
$custom-light: #b575da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36c8",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 276.575,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.21634,
    "h": 308.5
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#8F36C8
secondary
#A6CE8C
accent
#E14783
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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