#8A5DE6#8A5DE6

#8A5DE6 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.199 H 294.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A5DE6
RGBrgb(138, 93, 230)
HSLhsl(260, 73%, 63%)
HSVhsv(260, 60%, 90%)
CMYKcmyk(40%, 59.6%, 0%, 9.8%)
CIE-LABlab(50.62, 48.18, -63.31)
CIE-LCHlch(50.62, 79.56, 307.27°)
OKLaboklab(59.48% 0.0832 -0.1803)
OKLCHoklch(59.48% 0.199 294.8)
XYZxyz(28.6747, 18.9445, 76.9934)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DE6 #B9E65D
analogous
#5D74E6 #8A5DE6 #CE5DE6
triadic
#8A5DE6 #E68A5D #5DE68A
tetradic
#8A5DE6 #E65D74 #B9E65D #5DE6CE
square
#8A5DE6 #E65D74 #B9E65D #5DE6CE
split-complementary
#8A5DE6 #E6CE5D #74E65D
monochromatic
#4B1BAE #6428DE #8A5DE6 #B092EE #D7C7F6

Accessibility & contrast

On white

4.39
#8A5DE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A5DE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DE6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DE6#FFFFFF#000000##000000
##8A5DE61.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#1476E3
Tritanopia (blue-blind)
#727B99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a5de6;
/* rgb */ color: rgb(138, 93, 230);
/* oklch */ color: oklch(59.5% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#b28def',
    500: '#8a5de6',
    950: '#000000',
  },
}
SCSS
$custom: #8a5de6;
$custom-light: #b28def;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5de6",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 259.708,
    "s": 73.262,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.19854,
    "h": 294.8
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#8A5DE6
secondary
#D8E8B7
accent
#D51095
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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