#8A57D6#8A57D6

#8A57D6 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.188 H 298.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A57D6
RGBrgb(138, 87, 214)
HSLhsl(264, 61%, 59%)
HSVhsv(264, 59%, 84%)
CMYKcmyk(35.5%, 59.3%, 0%, 16.1%)
CIE-LABlab(48.35, 47.29, -57.90)
CIE-LCHlch(48.35, 74.76, 309.24°)
OKLaboklab(57.49% 0.0907 -0.1644)
OKLCHoklch(57.49% 0.188 298.9)
XYZxyz(26.0240, 17.0744, 65.5299)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57D6 #A3D657
analogous
#5764D6 #8A57D6 #C957D6
triadic
#8A57D6 #D68A57 #57D68A
tetradic
#8A57D6 #D65764 #A3D657 #57D6C9
square
#8A57D6 #D65764 #A3D657 #57D6C9
split-complementary
#8A57D6 #D6C957 #64D657
monochromatic
#4F2390 #6A2FC1 #8A57D6 #AC88E2 #CFB9EE

Accessibility & contrast

On white

4.76
#8A57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8A57D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57D6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57D6#FFFFFF#000000##FFFFFF
##8A57D61.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0473DA
Deuteranopia (green-blind)
#2972D3
Tritanopia (blue-blind)
#79728E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a57d6;
/* rgb */ color: rgb(138, 87, 214);
/* oklch */ color: oklch(57.5% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#b188e3',
    500: '#8a57d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a57d6;
$custom-light: #b188e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57d6",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 264.094,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.18772,
    "h": 298.9
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#8A57D6
secondary
#C9DDAB
accent
#E444A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A57D6

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

Preview Lab → · Contrast checker → · Palette generator →

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