#8F36D3#8F36D3

#8F36D3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.227 H 305.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8F36D3
RGBrgb(143, 54, 211)
HSLhsl(274, 64%, 52%)
HSVhsv(274, 74%, 83%)
CMYKcmyk(32.2%, 74.4%, 0%, 17.3%)
CIE-LABlab(43.04, 63.32, -64.76)
CIE-LCHlch(43.04, 90.57, 314.36°)
OKLaboklab(53.74% 0.1325 -0.1842)
OKLCHoklch(53.74% 0.227 305.7)
XYZxyz(24.4021, 13.1813, 62.8741)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36D3 #7AD336
analogous
#4136D3 #8F36D3 #D336C8
triadic
#8F36D3 #D38F36 #36D38F
tetradic
#8F36D3 #D34136 #7AD336 #36C8D3
square
#8F36D3 #D34136 #7AD336 #36C8D3
split-complementary
#8F36D3 #C8D336 #36D341
monochromatic
#4D1A75 #6F25A7 #8F36D3 #AB68DE #C79AE9

Accessibility & contrast

On white

5.78
#8F36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8F36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36D3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36D3#FFFFFF#000000##FFFFFF
##8F36D31.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#835D82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f36d3;
/* rgb */ color: rgb(143, 54, 211);
/* oklch */ color: oklch(53.7% 0.227 305.7);
Tailwind
colors: {
  custom: {
    50: '#b676e1',
    500: '#8f36d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f36d3;
$custom-light: #b676e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36d3",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 274.013,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.22695,
    "h": 305.7
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#8F36D3
secondary
#AED590
accent
#E74189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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