#8A5DE8#8A5DE8

#8A5DE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.6% C 0.201 H 294.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A5DE8
RGBrgb(138, 93, 232)
HSLhsl(259, 75%, 64%)
HSVhsv(259, 60%, 91%)
CMYKcmyk(40.5%, 59.9%, 0%, 9%)
CIE-LABlab(50.75, 48.71, -64.23)
CIE-LCHlch(50.75, 80.61, 307.17°)
OKLaboklab(59.62% 0.0831 -0.183)
OKLCHoklch(59.62% 0.201 294.4)
XYZxyz(28.9572, 19.0575, 78.4811)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DE8 #BBE85D
analogous
#5D75E8 #8A5DE8 #CF5DE8
triadic
#8A5DE8 #E88A5D #5DE88A
tetradic
#8A5DE8 #E85D75 #BBE85D #5DE8CF
square
#8A5DE8 #E85D75 #BBE85D #5DE8CF
split-complementary
#8A5DE8 #E8CF5D #75E85D
monochromatic
#4A19B1 #6327E0 #8A5DE8 #B193F0 #D7C8F7

Accessibility & contrast

On white

4.36
#8A5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DE8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DE8#FFFFFF#000000##000000
##8A5DE81.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0C77E5
Tritanopia (blue-blind)
#717C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a5de8;
/* rgb */ color: rgb(138, 93, 232);
/* oklch */ color: oklch(59.6% 0.201 294.4);
Tailwind
colors: {
  custom: {
    50: '#b28df0',
    500: '#8a5de8',
    950: '#000000',
  },
}
SCSS
$custom: #8a5de8;
$custom-light: #b28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5de8",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 259.424,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.20095,
    "h": 294.4
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#8A5DE8
secondary
#D9E9B8
accent
#D70E96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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