#8A5CD0#8A5CD0

#8A5CD0 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.173 H 299.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A5CD0
RGBrgb(138, 92, 208)
HSLhsl(264, 55%, 59%)
HSVhsv(264, 56%, 82%)
CMYKcmyk(33.7%, 55.8%, 0%, 18.4%)
CIE-LABlab(49.02, 43.02, -53.40)
CIE-LCHlch(49.02, 68.58, 308.85°)
OKLaboklab(57.86% 0.0846 -0.1512)
OKLCHoklch(57.86% 0.173 299.2)
XYZxyz(25.6908, 17.6114, 61.7081)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CD0 #A2D05C
analogous
#5C68D0 #8A5CD0 #C45CD0
triadic
#8A5CD0 #D08A5C #5CD08A
tetradic
#8A5CD0 #D05C68 #A2D05C #5CD0C4
square
#8A5CD0 #D05C68 #A2D05C #5CD0C4
split-complementary
#8A5CD0 #D0C45C #68D05C
monochromatic
#4F288A #6A35B9 #8A5CD0 #AC8CDE #CEBBEB

Accessibility & contrast

On white

4.64
#8A5CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A5CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CD0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CD0#FFFFFF#000000##FFFFFF
##8A5CD01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D4
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#7B738D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a5cd0;
/* rgb */ color: rgb(138, 92, 208);
/* oklch */ color: oklch(57.9% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#b08cdf',
    500: '#8a5cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5cd0;
$custom-light: #b08cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5cd0",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 263.793,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.17322,
    "h": 299.2
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#8A5CD0
secondary
#C9DBAD
accent
#DF49A3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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