#8A57EA#8A57EA

#8A57EA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.211 H 295.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A57EA
RGBrgb(138, 87, 234)
HSLhsl(261, 78%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(41%, 62.8%, 0%, 8.2%)
CIE-LABlab(49.69, 52.44, -67.08)
CIE-LCHlch(49.69, 85.14, 308.02°)
OKLaboklab(58.89% 0.0895 -0.1913)
OKLCHoklch(58.89% 0.211 295.1)
XYZxyz(28.7368, 18.1595, 79.8170)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57EA #B7EA57
analogous
#576DEA #8A57EA #D357EA
triadic
#8A57EA #EA8A57 #57EA8A
tetradic
#8A57EA #EA576D #B7EA57 #57EAD3
square
#8A57EA #EA576D #B7EA57 #57EAD3
split-complementary
#8A57EA #EAD357 #6DEA57
monochromatic
#4C16B1 #6421E3 #8A57EA #B08DF1 #D6C4F8

Accessibility & contrast

On white

4.53
#8A57EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8A57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57EA#FFFFFF#000000##000000
##8A57EA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#717999
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a57ea;
/* rgb */ color: rgb(138, 87, 234);
/* oklch */ color: oklch(58.9% 0.211 295.1);
Tailwind
colors: {
  custom: {
    50: '#b289f2',
    500: '#8a57ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ea;
$custom-light: #b289f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ea",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 260.816,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.21125,
    "h": 295.1
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#8A57EA
secondary
#D6E9B4
accent
#DA0B92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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