#8A57EF#8A57EF

#8A57EF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.217 H 294.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A57EF
RGBrgb(138, 87, 239)
HSLhsl(260, 83%, 64%)
HSVhsv(260, 64%, 94%)
CMYKcmyk(42.3%, 63.6%, 0%, 6.3%)
CIE-LABlab(50.04, 53.75, -69.32)
CIE-LCHlch(50.04, 87.71, 307.79°)
OKLaboklab(59.25% 0.0891 -0.1979)
OKLCHoklch(59.25% 0.217 294.2)
XYZxyz(29.4652, 18.4509, 83.6535)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57EF #BCEF57
analogous
#5770EF #8A57EF #D657EF
triadic
#8A57EF #EF8A57 #57EF8A
tetradic
#8A57EF #EF5770 #BCEF57 #57EFD6
square
#8A57EF #EF5770 #BCEF57 #57EFD6
split-complementary
#8A57EF #EFD657 #70EF57
monochromatic
#4A12BA #631FEA #8A57EF #B18FF4 #D8C7FA

Accessibility & contrast

On white

4.48
#8A57EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A57EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57EF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57EF#FFFFFF#000000##000000
##8A57EF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#6F7A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a57ef;
/* rgb */ color: rgb(138, 87, 239);
/* oklch */ color: oklch(59.3% 0.217 294.2);
Tailwind
colors: {
  custom: {
    50: '#b389f5',
    500: '#8a57ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ef;
$custom-light: #b389f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ef",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 260.132,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.21705,
    "h": 294.2
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#8A57EF
secondary
#DAECB6
accent
#DF0696
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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