#8A36C3#8A36C3

#8A36C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.210 H 307.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A36C3
RGBrgb(138, 54, 195)
HSLhsl(276, 57%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(29.2%, 72.3%, 0%, 23.5%)
CIE-LABlab(41.19, 58.85, -58.52)
CIE-LCHlch(41.19, 83.00, 315.16°)
OKLaboklab(51.92% 0.1288 -0.1661)
OKLCHoklch(51.92% 0.21 307.8)
XYZxyz(21.6487, 11.9820, 52.7915)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36C3 #6FC336
analogous
#4436C3 #8A36C3 #C336B6
triadic
#8A36C3 #C38A36 #36C38A
tetradic
#8A36C3 #C34436 #6FC336 #36B6C3
square
#8A36C3 #C34436 #6FC336 #36B6C3
split-complementary
#8A36C3 #B6C336 #36C344
monochromatic
#461B63 #682993 #8A36C3 #A663D4 #C192E1

Accessibility & contrast

On white

6.18
#8A36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36C3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36C3#FFFFFF#000000##FFFFFF
##8A36C31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#815779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a36c3;
/* rgb */ color: rgb(138, 54, 195);
/* oklch */ color: oklch(51.9% 0.210 307.8);
Tailwind
colors: {
  custom: {
    50: '#b175d6',
    500: '#8a36c3',
    950: '#000000',
  },
}
SCSS
$custom: #8a36c3;
$custom-light: #b175d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36c3",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 275.745,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.21012,
    "h": 307.8
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#8A36C3
secondary
#A4CC89
accent
#E04885
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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