#8D5AEB#8D5AEB

#8D5AEB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.209 H 295.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D5AEB
RGBrgb(141, 90, 235)
HSLhsl(261, 78%, 64%)
HSVhsv(261, 62%, 92%)
CMYKcmyk(40%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.66, 51.73, -66.06)
CIE-LCHlch(50.66, 83.90, 308.06°)
OKLaboklab(59.68% 0.0901 -0.1883)
OKLCHoklch(59.68% 0.209 295.6)
XYZxyz(29.6321, 18.9726, 80.6820)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AEB #B8EB5A
analogous
#5A6FEB #8D5AEB #D55AEB
triadic
#8D5AEB #EB8D5A #5AEB8D
tetradic
#8D5AEB #EB5A6F #B8EB5A #5AEBD5
square
#8D5AEB #EB5A6F #B8EB5A #5AEBD5
split-complementary
#8D5AEB #EBD55A #6FEB5A
monochromatic
#4E16B5 #6723E4 #8D5AEB #B391F2 #D8C7F8

Accessibility & contrast

On white

4.38
#8D5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8D5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AEB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AEB#FFFFFF#000000##000000
##8D5AEB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#757B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5aeb;
/* rgb */ color: rgb(141, 90, 235);
/* oklch */ color: oklch(59.7% 0.209 295.6);
Tailwind
colors: {
  custom: {
    50: '#b48bf2',
    500: '#8d5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aeb;
$custom-light: #b48bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aeb",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 261.103,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.20874,
    "h": 295.6
  },
  "luminance": 0.18973
}

Semantic roles & 50–950 ramp

primary
#8D5AEB
secondary
#D8EAB7
accent
#DB0B92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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