#8F36D1#8F36D1

#8F36D1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.225 H 306.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F36D1
RGBrgb(143, 54, 209)
HSLhsl(274, 63%, 52%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(31.6%, 74.2%, 0%, 18%)
CIE-LABlab(42.89, 62.88, -63.85)
CIE-LCHlch(42.89, 89.62, 314.56°)
OKLaboklab(53.59% 0.1329 -0.1816)
OKLCHoklch(53.59% 0.225 306.2)
XYZxyz(24.1530, 13.0817, 61.5618)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36D1 #78D136
analogous
#4236D1 #8F36D1 #D136C5
triadic
#8F36D1 #D18F36 #36D18F
tetradic
#8F36D1 #D14236 #78D136 #36C5D1
square
#8F36D1 #D14236 #78D136 #36C5D1
split-complementary
#8F36D1 #C5D136 #36D142
monochromatic
#4D1A72 #6E26A4 #8F36D1 #AB68DC #C79AE8

Accessibility & contrast

On white

5.81
#8F36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36D1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36D1#FFFFFF#000000##FFFFFF
##8F36D11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#835C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f36d1;
/* rgb */ color: rgb(143, 54, 209);
/* oklch */ color: oklch(53.6% 0.225 306.2);
Tailwind
colors: {
  custom: {
    50: '#b576e0',
    500: '#8f36d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f36d1;
$custom-light: #b576e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36d1",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 274.452,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53588,
    "c": 0.22503,
    "h": 306.2
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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