#8F36D0#8F36D0

#8F36D0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.224 H 306.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F36D0
RGBrgb(143, 54, 208)
HSLhsl(275, 62%, 51%)
HSVhsv(275, 74%, 82%)
CMYKcmyk(31.3%, 74%, 0%, 18.4%)
CIE-LABlab(42.81, 62.66, -63.40)
CIE-LCHlch(42.81, 89.14, 314.67°)
OKLaboklab(53.51% 0.1331 -0.1802)
OKLCHoklch(53.51% 0.224 306.5)
XYZxyz(24.0295, 13.0323, 60.9119)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36D0 #77D036
analogous
#4236D0 #8F36D0 #D036C4
triadic
#8F36D0 #D08F36 #36D08F
tetradic
#8F36D0 #D04236 #77D036 #36C4D0
square
#8F36D0 #D04236 #77D036 #36C4D0
split-complementary
#8F36D0 #C4D036 #36D042
monochromatic
#4D1A71 #6E26A3 #8F36D0 #AB68DC #C699E7

Accessibility & contrast

On white

5.82
#8F36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8F36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36D0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36D0#FFFFFF#000000##FFFFFF
##8F36D01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#845C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f36d0;
/* rgb */ color: rgb(143, 54, 208);
/* oklch */ color: oklch(53.5% 0.224 306.5);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8f36d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f36d0;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36d0",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 274.675,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.22406,
    "h": 306.5
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#8F36D0
secondary
#ACD38F
accent
#E54387
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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