#8A5ADC#8A5ADC

#8A5ADC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.191 H 297.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A5ADC
RGBrgb(138, 90, 220)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 59%, 86%)
CMYKcmyk(37.3%, 59.1%, 0%, 13.7%)
CIE-LABlab(49.35, 47.20, -59.71)
CIE-LCHlch(49.35, 76.11, 308.33°)
OKLaboklab(58.35% 0.087 -0.1697)
OKLCHoklch(58.35% 0.191 297.1)
XYZxyz(27.0524, 17.8825, 69.7227)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5ADC #ACDC5A
analogous
#5A6BDC #8A5ADC #CB5ADC
triadic
#8A5ADC #DC8A5A #5ADC8A
tetradic
#8A5ADC #DC5A6B #ACDC5A #5ADCCB
square
#8A5ADC #DC5A6B #ACDC5A #5ADCCB
split-complementary
#8A5ADC #DCCB5A #6BDC5A
monochromatic
#4E219B #672CCD #8A5ADC #AE8CE7 #D2BFF1

Accessibility & contrast

On white

4.59
#8A5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8A5ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5ADC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5ADC#FFFFFF#000000##FFFFFF
##8A5ADC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#777692
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a5adc;
/* rgb */ color: rgb(138, 90, 220);
/* oklch */ color: oklch(58.3% 0.191 297.1);
Tailwind
colors: {
  custom: {
    50: '#b18be8',
    500: '#8a5adc',
    950: '#000000',
  },
}
SCSS
$custom: #8a5adc;
$custom-light: #b18be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5adc",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 262.154,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.19067,
    "h": 297.1
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#8A5ADC
secondary
#CFE2B0
accent
#CD198A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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