#8D5AE2#8D5AE2

#8D5AE2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.1% C 0.198 H 297.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE2
RGBrgb(141, 90, 226)
HSLhsl(263, 70%, 62%)
HSVhsv(263, 60%, 89%)
CMYKcmyk(37.6%, 60.2%, 0%, 11.4%)
CIE-LABlab(50.06, 49.41, -61.96)
CIE-LCHlch(50.06, 79.24, 308.57°)
OKLaboklab(59.06% 0.0906 -0.1762)
OKLCHoklch(59.06% 0.198 297.2)
XYZxyz(28.3646, 18.4656, 74.0066)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE2 #AFE25A
analogous
#5A6BE2 #8D5AE2 #D15AE2
triadic
#8D5AE2 #E28D5A #5AE28D
tetradic
#8D5AE2 #E25A6B #AFE25A #5AE2D1
square
#8D5AE2 #E25A6B #AFE25A #5AE2D1
split-complementary
#8D5AE2 #E2D15A #6BE25A
monochromatic
#501DA5 #6926D9 #8D5AE2 #B18EEB #D5C2F4

Accessibility & contrast

On white

4.47
#8D5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8D5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE2#FFFFFF#000000##000000
##8D5AE21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#797896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ae2;
/* rgb */ color: rgb(141, 90, 226);
/* oklch */ color: oklch(59.1% 0.198 297.2);
Tailwind
colors: {
  custom: {
    50: '#b38bec',
    500: '#8d5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae2;
$custom-light: #b38bec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae2",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 262.5,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.19815,
    "h": 297.2
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#8D5AE2
secondary
#D2E5B3
accent
#D2138B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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