#8A5BE8#8A5BE8

#8A5BE8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.3% C 0.204 H 294.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A5BE8
RGBrgb(138, 91, 232)
HSLhsl(260, 75%, 63%)
HSVhsv(260, 61%, 91%)
CMYKcmyk(40.5%, 60.8%, 0%, 9%)
CIE-LABlab(50.35, 49.79, -64.89)
CIE-LCHlch(50.35, 81.79, 307.50°)
OKLaboklab(59.32% 0.0853 -0.1849)
OKLCHoklch(59.32% 0.204 294.8)
XYZxyz(28.7839, 18.7110, 78.4233)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5BE8 #B9E85B
analogous
#5B72E8 #8A5BE8 #D05BE8
triadic
#8A5BE8 #E88A5B #5BE88A
tetradic
#8A5BE8 #E85B72 #B9E85B #5BE8D0
square
#8A5BE8 #E85B72 #B9E85B #5BE8D0
split-complementary
#8A5BE8 #E8D05B #72E85B
monochromatic
#4B19B0 #6425E0 #8A5BE8 #B091F0 #D7C6F7

Accessibility & contrast

On white

4.43
#8A5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5BE8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5BE8#FFFFFF#000000##000000
##8A5BE81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#727B99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a5be8;
/* rgb */ color: rgb(138, 91, 232);
/* oklch */ color: oklch(59.3% 0.204 294.8);
Tailwind
colors: {
  custom: {
    50: '#b28bf0',
    500: '#8a5be8',
    950: '#000000',
  },
}
SCSS
$custom: #8a5be8;
$custom-light: #b28bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5be8",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 260,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.20364,
    "h": 294.8
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#8A5BE8
secondary
#D8E9B6
accent
#D80E94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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