#8A5ADF#8A5ADF

#8A5ADF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.194 H 296.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A5ADF
RGBrgb(138, 90, 223)
HSLhsl(262, 68%, 61%)
HSVhsv(262, 60%, 87%)
CMYKcmyk(38.1%, 59.6%, 0%, 12.5%)
CIE-LABlab(49.55, 47.98, -61.09)
CIE-LCHlch(49.55, 77.68, 308.14°)
OKLaboklab(58.55% 0.0869 -0.1738)
OKLCHoklch(58.55% 0.194 296.6)
XYZxyz(27.4533, 18.0428, 71.8339)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ADF #AFDF5A
analogous
#5A6DDF #8A5ADF #CD5ADF
triadic
#8A5ADF #DF8A5A #5ADF8A
tetradic
#8A5ADF #DF5A6D #AFDF5A #5ADFCD
square
#8A5ADF #DF5A6D #AFDF5A #5ADFCD
split-complementary
#8A5ADF #DFCD5A #6DDF5A
monochromatic
#4D1FA0 #6629D3 #8A5ADF #AE8DE9 #D3C1F3

Accessibility & contrast

On white

4.56
#8A5ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A5ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5ADF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ADF#FFFFFF#000000##000000
##8A5ADF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#757794
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5adf;
/* rgb */ color: rgb(138, 90, 223);
/* oklch */ color: oklch(58.6% 0.194 296.6);
Tailwind
colors: {
  custom: {
    50: '#b18bea',
    500: '#8a5adf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5adf;
$custom-light: #b18bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5adf",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 223
  },
  "hsl": {
    "h": 261.654,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.19426,
    "h": 296.6
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#8A5ADF
secondary
#D1E3B2
accent
#CF168D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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