#8E36BF#8E36BF

#8E36BF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.207 H 310.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8E36BF
RGBrgb(142, 54, 191)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.7%, 71.7%, 0%, 25.1%)
CIE-LABlab(41.46, 58.77, -55.72)
CIE-LCHlch(41.46, 80.99, 316.52°)
OKLaboklab(52.14% 0.1347 -0.1577)
OKLCHoklch(52.14% 0.207 310.5)
XYZxyz(21.8766, 12.1512, 50.4731)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36BF #67BF36
analogous
#4936BF #8E36BF #BF36AB
triadic
#8E36BF #BF8E36 #36BF8E
tetradic
#8E36BF #BF4936 #67BF36 #36ABBF
square
#8E36BF #BF4936 #67BF36 #36ABBF
split-complementary
#8E36BF #ABBF36 #36BF49
monochromatic
#471B60 #6B298F #8E36BF #A960D2 #C390E0

Accessibility & contrast

On white

6.12
#8E36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8E36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36BF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36BF#FFFFFF#000000##FFFFFF
##8E36BF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#875577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e36bf;
/* rgb */ color: rgb(142, 54, 191);
/* oklch */ color: oklch(52.1% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#b475d3',
    500: '#8e36bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e36bf;
$custom-light: #b475d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36bf",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 278.54,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.20737,
    "h": 310.5
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#8E36BF
secondary
#9FCA87
accent
#DF497E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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