#8A57E8#8A57E8

#8A57E8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.209 H 295.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A57E8
RGBrgb(138, 87, 232)
HSLhsl(261, 76%, 63%)
HSVhsv(261, 63%, 91%)
CMYKcmyk(40.5%, 62.5%, 0%, 9%)
CIE-LABlab(49.55, 51.92, -66.17)
CIE-LCHlch(49.55, 84.11, 308.12°)
OKLaboklab(58.74% 0.0897 -0.1887)
OKLCHoklch(58.74% 0.209 295.4)
XYZxyz(28.4511, 18.0452, 78.3124)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57E8 #B5E857
analogous
#576DE8 #8A57E8 #D257E8
triadic
#8A57E8 #E88A57 #57E88A
tetradic
#8A57E8 #E8576D #B5E857 #57E8D2
square
#8A57E8 #E8576D #B5E857 #57E8D2
split-complementary
#8A57E8 #E8D257 #6DE857
monochromatic
#4C18AD #6521E1 #8A57E8 #AF8DEF #D5C3F7

Accessibility & contrast

On white

4.56
#8A57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57E8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57E8#FFFFFF#000000##000000
##8A57E81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#727898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a57e8;
/* rgb */ color: rgb(138, 87, 232);
/* oklch */ color: oklch(58.7% 0.209 295.4);
Tailwind
colors: {
  custom: {
    50: '#b289f0',
    500: '#8a57e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a57e8;
$custom-light: #b289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57e8",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 261.103,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.20892,
    "h": 295.4
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#8A57E8
secondary
#D5E8B3
accent
#D80D91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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