#8A5CE8#8A5CE8

#8A5CE8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.202 H 294.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A5CE8
RGBrgb(138, 92, 232)
HSLhsl(260, 75%, 64%)
HSVhsv(260, 60%, 91%)
CMYKcmyk(40.5%, 60.3%, 0%, 9%)
CIE-LABlab(50.55, 49.25, -64.56)
CIE-LCHlch(50.55, 81.20, 307.34°)
OKLaboklab(59.47% 0.0842 -0.1839)
OKLCHoklch(59.47% 0.202 294.6)
XYZxyz(28.8700, 18.8831, 78.4520)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CE8 #BAE85C
analogous
#5C74E8 #8A5CE8 #D05CE8
triadic
#8A5CE8 #E88A5C #5CE88A
tetradic
#8A5CE8 #E85C74 #BAE85C #5CE8D0
square
#8A5CE8 #E85C74 #BAE85C #5CE8D0
split-complementary
#8A5CE8 #E8D05C #74E85C
monochromatic
#4B19B1 #6426E0 #8A5CE8 #B092F0 #D7C7F7

Accessibility & contrast

On white

4.40
#8A5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5CE8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CE8#FFFFFF#000000##000000
##8A5CE81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0576E5
Tritanopia (blue-blind)
#717B99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a5ce8;
/* rgb */ color: rgb(138, 92, 232);
/* oklch */ color: oklch(59.5% 0.202 294.6);
Tailwind
colors: {
  custom: {
    50: '#b28cf0',
    500: '#8a5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ce8;
$custom-light: #b28cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ce8",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 259.714,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.20229,
    "h": 294.6
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#8A5CE8
secondary
#D8E9B7
accent
#D70E95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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