#8F36C6#8F36C6

#8F36C6 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.214 H 309.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8F36C6
RGBrgb(143, 54, 198)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 73%, 78%)
CMYKcmyk(27.8%, 72.7%, 0%, 22.4%)
CIE-LABlab(42.09, 60.47, -58.78)
CIE-LCHlch(42.09, 84.33, 315.81°)
OKLaboklab(52.77% 0.1349 -0.1667)
OKLCHoklch(52.77% 0.214 309)
XYZxyz(22.8378, 12.5556, 54.6355)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36C6 #6DC636
analogous
#4736C6 #8F36C6 #C636B5
triadic
#8F36C6 #C68F36 #36C68F
tetradic
#8F36C6 #C64736 #6DC636 #36B5C6
square
#8F36C6 #C64736 #6DC636 #36B5C6
split-complementary
#8F36C6 #B5C636 #36C647
monochromatic
#4A1C66 #6C2996 #8F36C6 #AA64D5 #C494E2

Accessibility & contrast

On white

5.98
#8F36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36C6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36C6#FFFFFF#000000##FFFFFF
##8F36C61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0D64C3
Tritanopia (blue-blind)
#87577B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f36c6;
/* rgb */ color: rgb(143, 54, 198);
/* oklch */ color: oklch(52.8% 0.214 309.0);
Tailwind
colors: {
  custom: {
    50: '#b575d8',
    500: '#8f36c6',
    950: '#000000',
  },
}
SCSS
$custom: #8f36c6;
$custom-light: #b575d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36c6",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 277.083,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.21442,
    "h": 309
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#8F36C6
secondary
#A4CD8B
accent
#E04782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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