#8A5EED#8A5EED

#8A5EED is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.206 H 293.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A5EED
RGBrgb(138, 94, 237)
HSLhsl(258, 80%, 65%)
HSVhsv(258, 60%, 93%)
CMYKcmyk(41.8%, 60.3%, 0%, 7.1%)
CIE-LABlab(51.29, 49.49, -66.17)
CIE-LCHlch(51.29, 82.63, 306.80°)
OKLaboklab(60.12% 0.0817 -0.1887)
OKLCHoklch(60.12% 0.206 293.4)
XYZxyz(29.7659, 19.5223, 82.3042)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5EED #C1ED5E
analogous
#5E79ED #8A5EED #D25EED
triadic
#8A5EED #ED8A5E #5EED8A
tetradic
#8A5EED #ED5E79 #C1ED5E #5EEDD2
square
#8A5EED #ED5E79 #C1ED5E #5EEDD2
split-complementary
#8A5EED #EDD25E #79ED5E
monochromatic
#4815BC #6227E7 #8A5EED #B295F3 #DACCF9

Accessibility & contrast

On white

4.28
#8A5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5EED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5EED#FFFFFF#000000##000000
##8A5EED1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#6F7E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a5eed;
/* rgb */ color: rgb(138, 94, 237);
/* oklch */ color: oklch(60.1% 0.206 293.4);
Tailwind
colors: {
  custom: {
    50: '#b28df4',
    500: '#8a5eed',
    950: '#000000',
  },
}
SCSS
$custom: #8a5eed;
$custom-light: #b28df4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5eed",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 258.462,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.20561,
    "h": 293.4
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#8A5EED
secondary
#DDECBB
accent
#DC099B
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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