#8F36CA#8F36CA

#8F36CA is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.218 H 308.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F36CA
RGBrgb(143, 54, 202)
HSLhsl(276, 58%, 50%)
HSVhsv(276, 73%, 79%)
CMYKcmyk(29.2%, 73.3%, 0%, 20.8%)
CIE-LABlab(42.37, 61.34, -60.64)
CIE-LCHlch(42.37, 86.26, 315.33°)
OKLaboklab(53.06% 0.1342 -0.1721)
OKLCHoklch(53.06% 0.218 308)
XYZxyz(23.3053, 12.7426, 57.0975)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36CA #71CA36
analogous
#4536CA #8F36CA #CA36BB
triadic
#8F36CA #CA8F36 #36CA8F
tetradic
#8F36CA #CA4536 #71CA36 #36BBCA
square
#8F36CA #CA4536 #71CA36 #36BBCA
split-complementary
#8F36CA #BBCA36 #36CA45
monochromatic
#4B1C6A #6D299A #8F36CA #AA66D7 #C597E4

Accessibility & contrast

On white

5.92
#8F36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36CA#FFFFFF#000000##FFFFFF
##8F36CA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#85597D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f36ca;
/* rgb */ color: rgb(143, 54, 202);
/* oklch */ color: oklch(53.1% 0.218 308.0);
Tailwind
colors: {
  custom: {
    50: '#b575db',
    500: '#8f36ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f36ca;
$custom-light: #b575db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36ca",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 276.081,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.21828,
    "h": 308
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#8F36CA
secondary
#A7CF8D
accent
#E14684
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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