#8A36CF#8A36CF

#8A36CF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.222 H 304.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A36CF
RGBrgb(138, 54, 207)
HSLhsl(273, 61%, 51%)
HSVhsv(273, 74%, 81%)
CMYKcmyk(33.3%, 73.9%, 0%, 18.8%)
CIE-LABlab(42.07, 61.54, -64.05)
CIE-LCHlch(42.07, 88.82, 313.85°)
OKLaboklab(52.83% 0.1266 -0.1823)
OKLCHoklch(52.83% 0.222 304.8)
XYZxyz(23.0603, 12.5467, 60.2263)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36CF #7BCF36
analogous
#3D36CF #8A36CF #CF36C8
triadic
#8A36CF #CF8A36 #36CF8A
tetradic
#8A36CF #CF3D36 #7BCF36 #36C8CF
square
#8A36CF #CF3D36 #7BCF36 #36C8CF
split-complementary
#8A36CF #C8CF36 #36CF3D
monochromatic
#491B70 #6A27A1 #8A36CF #A767DB #C499E7

Accessibility & contrast

On white

5.98
#8A36CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A36CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36CF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36CF#FFFFFF#000000##FFFFFF
##8A36CF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#7D5C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a36cf;
/* rgb */ color: rgb(138, 54, 207);
/* oklch */ color: oklch(52.8% 0.222 304.8);
Tailwind
colors: {
  custom: {
    50: '#b275df',
    500: '#8a36cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a36cf;
$custom-light: #b275df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36cf",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 272.941,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.22193,
    "h": 304.8
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#8A36CF
secondary
#ADD28F
accent
#E5438C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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