#8D5AEC#8D5AEC

#8D5AEC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.8% C 0.210 H 295.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D5AEC
RGBrgb(141, 90, 236)
HSLhsl(261, 79%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(40.3%, 61.9%, 0%, 7.5%)
CIE-LABlab(50.72, 51.99, -66.51)
CIE-LCHlch(50.72, 84.42, 308.01°)
OKLaboklab(59.75% 0.0901 -0.1896)
OKLCHoklch(59.75% 0.21 295.4)
XYZxyz(29.7770, 19.0305, 81.4450)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AEC #B9EC5A
analogous
#5A70EC #8D5AEC #D65AEC
triadic
#8D5AEC #EC8D5A #5AEC8D
tetradic
#8D5AEC #EC5A70 #B9EC5A #5AECD6
square
#8D5AEC #EC5A70 #B9EC5A #5AECD6
split-complementary
#8D5AEC #ECD65A #70EC5A
monochromatic
#4D15B7 #6723E6 #8D5AEC #B391F2 #D9C8F9

Accessibility & contrast

On white

4.37
#8D5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AEC#FFFFFF#000000##000000
##8D5AEC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#757B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5aec;
/* rgb */ color: rgb(141, 90, 236);
/* oklch */ color: oklch(59.8% 0.210 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48bf3',
    500: '#8d5aec',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aec;
$custom-light: #b48bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aec",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 260.959,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.20991,
    "h": 295.4
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#8D5AEC
secondary
#D9EBB7
accent
#DC0A92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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