#8B36D0#8B36D0

#8B36D0 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.223 H 304.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B36D0
RGBrgb(139, 54, 208)
HSLhsl(273, 62%, 51%)
HSVhsv(273, 74%, 82%)
CMYKcmyk(33.2%, 74%, 0%, 18.4%)
CIE-LABlab(42.28, 61.94, -64.28)
CIE-LCHlch(42.28, 89.27, 313.94°)
OKLaboklab(53.02% 0.1277 -0.183)
OKLCHoklch(53.02% 0.223 304.9)
XYZxyz(23.3492, 12.6815, 60.8800)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36D0 #7BD036
analogous
#3E36D0 #8B36D0 #D036C8
triadic
#8B36D0 #D08B36 #36D08B
tetradic
#8B36D0 #D03E36 #7BD036 #36C8D0
square
#8B36D0 #D03E36 #7BD036 #36C8D0
split-complementary
#8B36D0 #C8D036 #36D03E
monochromatic
#4A1A71 #6B26A3 #8B36D0 #A868DC #C499E7

Accessibility & contrast

On white

5.94
#8B36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36D0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36D0#FFFFFF#000000##FFFFFF
##8B36D01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#7E5C81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b36d0;
/* rgb */ color: rgb(139, 54, 208);
/* oklch */ color: oklch(53.0% 0.223 304.9);
Tailwind
colors: {
  custom: {
    50: '#b375df',
    500: '#8b36d0',
    950: '#000000',
  },
}
SCSS
$custom: #8b36d0;
$custom-light: #b375df;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36d0",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 273.117,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.22314,
    "h": 304.9
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#8B36D0
secondary
#ADD38F
accent
#E5438B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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