#8B36D1#8B36D1

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

Color values

HEX#8B36D1
RGBrgb(139, 54, 209)
HSLhsl(273, 63%, 52%)
HSVhsv(273, 74%, 82%)
CMYKcmyk(33.5%, 74.2%, 0%, 18%)
CIE-LABlab(42.35, 62.17, -64.74)
CIE-LCHlch(42.35, 89.75, 313.84°)
OKLaboklab(53.1% 0.1275 -0.1843)
OKLCHoklch(53.1% 0.224 304.7)
XYZxyz(23.4726, 12.7309, 61.5300)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36D1 #7CD136
analogous
#3E36D1 #8B36D1 #D136CA
triadic
#8B36D1 #D18B36 #36D18B
tetradic
#8B36D1 #D13E36 #7CD136 #36CAD1
square
#8B36D1 #D13E36 #7CD136 #36CAD1
split-complementary
#8B36D1 #CAD136 #36D13E
monochromatic
#4B1A72 #6B26A4 #8B36D1 #A868DC #C49AE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B36D1#FFFFFF#000000##FFFFFF
##8B36D11.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)
#0062D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#7E5C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b36d1;
/* rgb */ color: rgb(139, 54, 209);
/* oklch */ color: oklch(53.1% 0.224 304.7);
Tailwind
colors: {
  custom: {
    50: '#b375e0',
    500: '#8b36d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b36d1;
$custom-light: #b375e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36d1",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 272.903,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.531,
    "c": 0.22412,
    "h": 304.7
  },
  "luminance": 0.12731
}

Semantic roles & 50–950 ramp

primary
#8B36D1
secondary
#AED38F
accent
#E6428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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