#8A5EE0#8A5EE0

#8A5EE0 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.190 H 295.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A5EE0
RGBrgb(138, 94, 224)
HSLhsl(260, 68%, 62%)
HSVhsv(260, 58%, 88%)
CMYKcmyk(38.4%, 58%, 0%, 12.2%)
CIE-LABlab(50.44, 46.05, -60.22)
CIE-LCHlch(50.44, 75.81, 307.41°)
OKLaboklab(59.22% 0.0822 -0.1712)
OKLCHoklch(59.22% 0.19 295.6)
XYZxyz(27.9350, 18.7900, 72.6616)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5EE0 #B4E05E
analogous
#5E73E0 #8A5EE0 #CB5EE0
triadic
#8A5EE0 #E08A5E #5EE08A
tetradic
#8A5EE0 #E05E73 #B4E05E #5EE0CB
square
#8A5EE0 #E05E73 #B4E05E #5EE0CB
split-complementary
#8A5EE0 #E0CB5E #73E05E
monochromatic
#4C20A4 #652BD6 #8A5EE0 #AF91EA #D5C5F4

Accessibility & contrast

On white

4.41
#8A5EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A5EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5EE0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5EE0#FFFFFF#000000##000000
##8A5EE01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C79E4
Deuteranopia (green-blind)
#2676DD
Tritanopia (blue-blind)
#757A96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a5ee0;
/* rgb */ color: rgb(138, 94, 224);
/* oklch */ color: oklch(59.2% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#b18dea',
    500: '#8a5ee0',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ee0;
$custom-light: #b18dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ee0",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 224
  },
  "hsl": {
    "h": 260.308,
    "s": 67.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.1899,
    "h": 295.6
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#8A5EE0
secondary
#D5E5B5
accent
#D01691
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A5EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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