#8A5ADD#8A5ADD

#8A5ADD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.192 H 296.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A5ADD
RGBrgb(138, 90, 221)
HSLhsl(262, 66%, 61%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(37.6%, 59.3%, 0%, 13.3%)
CIE-LABlab(49.42, 47.46, -60.17)
CIE-LCHlch(49.42, 76.64, 308.26°)
OKLaboklab(58.41% 0.0869 -0.171)
OKLCHoklch(58.41% 0.192 296.9)
XYZxyz(27.1852, 17.9356, 70.4222)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ADD #ADDD5A
analogous
#5A6BDD #8A5ADD #CB5ADD
triadic
#8A5ADD #DD8A5A #5ADD8A
tetradic
#8A5ADD #DD5A6B #ADDD5A #5ADDCB
square
#8A5ADD #DD5A6B #ADDD5A #5ADDCB
split-complementary
#8A5ADD #DDCB5A #6BDD5A
monochromatic
#4E209C #672BCF #8A5ADD #AE8DE7 #D2BFF2

Accessibility & contrast

On white

4.58
#8A5ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A5ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5ADD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ADD#FFFFFF#000000##000000
##8A5ADD1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#767693
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a5add;
/* rgb */ color: rgb(138, 90, 221);
/* oklch */ color: oklch(58.4% 0.192 296.9);
Tailwind
colors: {
  custom: {
    50: '#b18be8',
    500: '#8a5add',
    950: '#000000',
  },
}
SCSS
$custom: #8a5add;
$custom-light: #b18be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5add",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 261.985,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58413,
    "c": 0.19187,
    "h": 296.9
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#8A5ADD
secondary
#D0E2B1
accent
#CE188B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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