#8B36CB#8B36CB

#8B36CB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.218 H 306.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8B36CB
RGBrgb(139, 54, 203)
HSLhsl(274, 59%, 50%)
HSVhsv(274, 73%, 80%)
CMYKcmyk(31.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(41.91, 60.82, -62.00)
CIE-LCHlch(41.91, 86.85, 314.45°)
OKLaboklab(52.64% 0.1287 -0.1762)
OKLCHoklch(52.64% 0.218 306.1)
XYZxyz(22.7438, 12.4393, 57.6912)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36CB #76CB36
analogous
#4036CB #8B36CB #CB36C0
triadic
#8B36CB #CB8B36 #36CB8B
tetradic
#8B36CB #CB4036 #76CB36 #36C0CB
square
#8B36CB #CB4036 #76CB36 #36C0CB
split-complementary
#8B36CB #C0CB36 #36CB40
monochromatic
#491C6B #6A289C #8B36CB #A767D8 #C397E4

Accessibility & contrast

On white

6.02
#8B36CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8B36CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36CB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36CB#FFFFFF#000000##FFFFFF
##8B36CB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#805A7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b36cb;
/* rgb */ color: rgb(139, 54, 203);
/* oklch */ color: oklch(52.6% 0.218 306.1);
Tailwind
colors: {
  custom: {
    50: '#b275dc',
    500: '#8b36cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b36cb;
$custom-light: #b275dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36cb",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 274.228,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.21823,
    "h": 306.1
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#8B36CB
secondary
#AAD08D
accent
#E24689
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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