#8B36CA#8B36CA

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

Color values

HEX#8B36CA
RGBrgb(139, 54, 202)
HSLhsl(274, 58%, 50%)
HSVhsv(274, 73%, 79%)
CMYKcmyk(31.2%, 73.3%, 0%, 20.8%)
CIE-LABlab(41.83, 60.60, -61.54)
CIE-LCHlch(41.83, 86.37, 314.56°)
OKLaboklab(52.57% 0.1289 -0.1749)
OKLCHoklch(52.57% 0.217 306.4)
XYZxyz(22.6250, 12.3918, 57.0656)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36CA #75CA36
analogous
#4136CA #8B36CA #CA36BF
triadic
#8B36CA #CA8B36 #36CA8B
tetradic
#8B36CA #CA4136 #75CA36 #36BFCA
square
#8B36CA #CA4136 #75CA36 #36BFCA
split-complementary
#8B36CA #BFCA36 #36CA41
monochromatic
#491C6A #6A299A #8B36CA #A766D7 #C397E4

Accessibility & contrast

On white

6.04
#8B36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8B36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36CA#FFFFFF#000000##FFFFFF
##8B36CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#805A7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b36ca;
/* rgb */ color: rgb(139, 54, 202);
/* oklch */ color: oklch(52.6% 0.217 306.4);
Tailwind
colors: {
  custom: {
    50: '#b275db',
    500: '#8b36ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b36ca;
$custom-light: #b275db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36ca",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 274.459,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.21726,
    "h": 306.4
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#8B36CA
secondary
#A9CF8D
accent
#E14688
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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