#8A5BE9#8A5BE9

#8A5BE9 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.4% C 0.205 H 294.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A5BE9
RGBrgb(138, 91, 233)
HSLhsl(260, 76%, 64%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.8%, 60.9%, 0%, 8.6%)
CIE-LABlab(50.41, 50.05, -65.34)
CIE-LCHlch(50.41, 82.31, 307.45°)
OKLaboklab(59.39% 0.0853 -0.1862)
OKLCHoklch(59.39% 0.205 294.6)
XYZxyz(28.9264, 18.7680, 79.1735)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BE9 #BAE95B
analogous
#5B73E9 #8A5BE9 #D15BE9
triadic
#8A5BE9 #E98A5B #5BE98A
tetradic
#8A5BE9 #E95B73 #BAE95B #5BE9D1
square
#8A5BE9 #E95B73 #BAE95B #5BE9D1
split-complementary
#8A5BE9 #E9D15B #73E95B
monochromatic
#4B18B2 #6425E2 #8A5BE9 #B091F0 #D7C7F7

Accessibility & contrast

On white

4.42
#8A5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5BE9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BE9#FFFFFF#000000##000000
##8A5BE91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#717B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a5be9;
/* rgb */ color: rgb(138, 91, 233);
/* oklch */ color: oklch(59.4% 0.205 294.6);
Tailwind
colors: {
  custom: {
    50: '#b28bf1',
    500: '#8a5be9',
    950: '#000000',
  },
}
SCSS
$custom: #8a5be9;
$custom-light: #b28bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5be9",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 259.859,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.20482,
    "h": 294.6
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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