#8A5ADE#8A5ADE

#8A5ADE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.193 H 296.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8A5ADE
RGBrgb(138, 90, 222)
HSLhsl(262, 67%, 61%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(37.8%, 59.5%, 0%, 12.9%)
CIE-LABlab(49.48, 47.72, -60.63)
CIE-LCHlch(49.48, 77.16, 308.20°)
OKLaboklab(58.48% 0.0869 -0.1724)
OKLCHoklch(58.48% 0.193 296.7)
XYZxyz(27.3188, 17.9891, 71.1260)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ADE #AEDE5A
analogous
#5A6CDE #8A5ADE #CC5ADE
triadic
#8A5ADE #DE8A5A #5ADE8A
tetradic
#8A5ADE #DE5A6C #AEDE5A #5ADECC
square
#8A5ADE #DE5A6C #AEDE5A #5ADECC
split-complementary
#8A5ADE #DECC5A #6CDE5A
monochromatic
#4E209E #672AD1 #8A5ADE #AE8DE8 #D2C0F2

Accessibility & contrast

On white

4.57
#8A5ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8A5ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5ADE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ADE#FFFFFF#000000##000000
##8A5ADE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#2174DB
Tritanopia (blue-blind)
#767793
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5ade;
/* rgb */ color: rgb(138, 90, 222);
/* oklch */ color: oklch(58.5% 0.193 296.7);
Tailwind
colors: {
  custom: {
    50: '#b18be9',
    500: '#8a5ade',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ade;
$custom-light: #b18be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ade",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 261.818,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.19307,
    "h": 296.7
  },
  "luminance": 0.1799
}

Semantic roles & 50–950 ramp

primary
#8A5ADE
secondary
#D1E3B1
accent
#CF178C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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