#8D5AE1#8D5AE1

#8D5AE1 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.197 H 297.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D5AE1
RGBrgb(141, 90, 225)
HSLhsl(263, 69%, 62%)
HSVhsv(263, 60%, 88%)
CMYKcmyk(37.3%, 60%, 0%, 11.8%)
CIE-LABlab(49.99, 49.15, -61.50)
CIE-LCHlch(49.99, 78.72, 308.63°)
OKLaboklab(58.99% 0.0907 -0.1748)
OKLCHoklch(58.99% 0.197 297.4)
XYZxyz(28.2278, 18.4109, 73.2860)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AE1 #AEE15A
analogous
#5A6BE1 #8D5AE1 #D15AE1
triadic
#8D5AE1 #E18D5A #5AE18D
tetradic
#8D5AE1 #E15A6B #AEE15A #5AE1D1
square
#8D5AE1 #E15A6B #AEE15A #5AE1D1
split-complementary
#8D5AE1 #E1D15A #6BE15A
monochromatic
#501EA3 #6927D7 #8D5AE1 #B18EEA #D5C2F4

Accessibility & contrast

On white

4.49
#8D5AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8D5AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AE1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AE1#FFFFFF#000000##000000
##8D5AE11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#2075DE
Tritanopia (blue-blind)
#797795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5ae1;
/* rgb */ color: rgb(141, 90, 225);
/* oklch */ color: oklch(59.0% 0.197 297.4);
Tailwind
colors: {
  custom: {
    50: '#b38beb',
    500: '#8d5ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ae1;
$custom-light: #b38beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ae1",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 262.667,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.19697,
    "h": 297.4
  },
  "luminance": 0.18411
}

Semantic roles & 50–950 ramp

primary
#8D5AE1
secondary
#D2E4B2
accent
#D1148A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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