#8A36D0#8A36D0

#8A36D0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.223 H 304.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A36D0
RGBrgb(138, 54, 208)
HSLhsl(273, 62%, 51%)
HSVhsv(273, 74%, 82%)
CMYKcmyk(33.7%, 74%, 0%, 18.4%)
CIE-LABlab(42.15, 61.76, -64.50)
CIE-LCHlch(42.15, 89.31, 313.76°)
OKLaboklab(52.9% 0.1264 -0.1836)
OKLCHoklch(52.9% 0.223 304.5)
XYZxyz(23.1830, 12.5958, 60.8722)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36D0 #7CD036
analogous
#3D36D0 #8A36D0 #D036C9
triadic
#8A36D0 #D08A36 #36D08A
tetradic
#8A36D0 #D03D36 #7CD036 #36C9D0
square
#8A36D0 #D03D36 #7CD036 #36C9D0
split-complementary
#8A36D0 #C9D036 #36D03D
monochromatic
#4A1A71 #6A26A3 #8A36D0 #A768DC #C499E7

Accessibility & contrast

On white

5.97
#8A36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36D0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36D0#FFFFFF#000000##FFFFFF
##8A36D01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#7D5C81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a36d0;
/* rgb */ color: rgb(138, 54, 208);
/* oklch */ color: oklch(52.9% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#b275df',
    500: '#8a36d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a36d0;
$custom-light: #b275df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36d0",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 272.727,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.22292,
    "h": 304.5
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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