#8F36C3#8F36C3

#8F36C3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.212 H 309.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F36C3
RGBrgb(143, 54, 195)
HSLhsl(278, 57%, 49%)
HSVhsv(278, 72%, 76%)
CMYKcmyk(26.7%, 72.3%, 0%, 23.5%)
CIE-LABlab(41.87, 59.83, -57.38)
CIE-LCHlch(41.87, 82.89, 316.20°)
OKLaboklab(52.55% 0.1354 -0.1625)
OKLCHoklch(52.55% 0.212 309.8)
XYZxyz(22.4952, 12.4186, 52.8312)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36C3 #6AC336
analogous
#4836C3 #8F36C3 #C336B1
triadic
#8F36C3 #C38F36 #36C38F
tetradic
#8F36C3 #C34836 #6AC336 #36B1C3
square
#8F36C3 #C34836 #6AC336 #36B1C3
split-complementary
#8F36C3 #B1C336 #36C348
monochromatic
#491B63 #6C2993 #8F36C3 #AA63D4 #C492E1

Accessibility & contrast

On white

6.03
#8F36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36C3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36C3#FFFFFF#000000##FFFFFF
##8F36C31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1664C0
Tritanopia (blue-blind)
#885679
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f36c3;
/* rgb */ color: rgb(143, 54, 195);
/* oklch */ color: oklch(52.6% 0.212 309.8);
Tailwind
colors: {
  custom: {
    50: '#b475d6',
    500: '#8f36c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f36c3;
$custom-light: #b475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36c3",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 277.872,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.21153,
    "h": 309.8
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#8F36C3
secondary
#A2CC89
accent
#E04880
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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