#8D5ACA#8D5ACA

#8D5ACA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.169 H 302.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D5ACA
RGBrgb(141, 90, 202)
HSLhsl(267, 51%, 57%)
HSVhsv(267, 55%, 79%)
CMYKcmyk(30.2%, 55.4%, 0%, 20.8%)
CIE-LABlab(48.56, 43.35, -50.69)
CIE-LCHlch(48.56, 66.70, 310.54°)
OKLaboklab(57.48% 0.0908 -0.1431)
OKLCHoklch(57.48% 0.169 302.4)
XYZxyz(25.2989, 17.2393, 57.8604)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ACA #97CA5A
analogous
#5A5FCA #8D5ACA #C55ACA
triadic
#8D5ACA #CA8D5A #5ACA8D
tetradic
#8D5ACA #CA5A5F #97CA5A #5ACAC5
square
#8D5ACA #CA5A5F #97CA5A #5ACAC5
split-complementary
#8D5ACA #CAC55A #5FCA5A
monochromatic
#512980 #6E38AF #8D5ACA #AD88D9 #CDB7E8

Accessibility & contrast

On white

4.72
#8D5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8D5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5ACA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ACA#FFFFFF#000000##FFFFFF
##8D5ACA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#817089
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5aca;
/* rgb */ color: rgb(141, 90, 202);
/* oklch */ color: oklch(57.5% 0.169 302.4);
Tailwind
colors: {
  custom: {
    50: '#b28adb',
    500: '#8d5aca',
    950: '#000000',
  },
}
SCSS
$custom: #8d5aca;
$custom-light: #b28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5aca",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 267.321,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.16948,
    "h": 302.4
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#8D5ACA
secondary
#C2D7A9
accent
#DB4D9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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