#8A5AE8#8A5AE8

#8A5AE8 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.205 H 294.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A5AE8
RGBrgb(138, 90, 232)
HSLhsl(260, 76%, 63%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.5%, 61.2%, 0%, 9%)
CIE-LABlab(50.15, 50.33, -65.21)
CIE-LCHlch(50.15, 82.37, 307.66°)
OKLaboklab(59.18% 0.0864 -0.1859)
OKLCHoklch(59.18% 0.205 294.9)
XYZxyz(28.6990, 18.5411, 78.3950)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5AE8 #B8E85A
analogous
#5A71E8 #8A5AE8 #D15AE8
triadic
#8A5AE8 #E88A5A #5AE88A
tetradic
#8A5AE8 #E85A71 #B8E85A #5AE8D1
square
#8A5AE8 #E85A71 #B8E85A #5AE8D1
split-complementary
#8A5AE8 #E8D15A #71E85A
monochromatic
#4B18AF #6424E1 #8A5AE8 #B090EF #D6C5F7

Accessibility & contrast

On white

4.46
#8A5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8A5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5AE8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5AE8#FFFFFF#000000##000000
##8A5AE81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#727A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a5ae8;
/* rgb */ color: rgb(138, 90, 232);
/* oklch */ color: oklch(59.2% 0.205 294.9);
Tailwind
colors: {
  custom: {
    50: '#b28bf0',
    500: '#8a5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ae8;
$custom-light: #b28bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ae8",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 260.282,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59175,
    "c": 0.20497,
    "h": 294.9
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#8A5AE8
secondary
#D7E8B5
accent
#D80E93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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