#8A5DE9#8A5DE9

#8A5DE9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.202 H 294.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A5DE9
RGBrgb(138, 93, 233)
HSLhsl(259, 76%, 64%)
HSVhsv(259, 60%, 91%)
CMYKcmyk(40.8%, 60.1%, 0%, 8.6%)
CIE-LABlab(50.82, 48.97, -64.68)
CIE-LCHlch(50.82, 81.13, 307.13°)
OKLaboklab(59.69% 0.083 -0.1843)
OKLCHoklch(59.69% 0.202 294.3)
XYZxyz(29.0996, 19.1145, 79.2313)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5DE9 #BCE95D
analogous
#5D76E9 #8A5DE9 #D05DE9
triadic
#8A5DE9 #E98A5D #5DE98A
tetradic
#8A5DE9 #E95D76 #BCE95D #5DE9D0
square
#8A5DE9 #E95D76 #BCE95D #5DE9D0
split-complementary
#8A5DE9 #E9D05D #76E95D
monochromatic
#4A18B3 #6327E2 #8A5DE9 #B193F0 #D8C9F8

Accessibility & contrast

On white

4.35
#8A5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5DE9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5DE9#FFFFFF#000000##000000
##8A5DE91.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0677E6
Tritanopia (blue-blind)
#717C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a5de9;
/* rgb */ color: rgb(138, 93, 233);
/* oklch */ color: oklch(59.7% 0.202 294.3);
Tailwind
colors: {
  custom: {
    50: '#b28df1',
    500: '#8a5de9',
    950: '#000000',
  },
}
SCSS
$custom: #8a5de9;
$custom-light: #b28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5de9",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 259.286,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.20215,
    "h": 294.3
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#8A5DE9
secondary
#DAE9B8
accent
#D80D97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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