#8A57EE#8A57EE

#8A57EE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.216 H 294.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A57EE
RGBrgb(138, 87, 238)
HSLhsl(260, 82%, 64%)
HSVhsv(260, 63%, 93%)
CMYKcmyk(42%, 63.4%, 0%, 6.7%)
CIE-LABlab(49.97, 53.49, -68.87)
CIE-LCHlch(49.97, 87.20, 307.83°)
OKLaboklab(59.18% 0.0892 -0.1966)
OKLCHoklch(59.18% 0.216 294.4)
XYZxyz(29.3179, 18.3920, 82.8777)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57EE #BBEE57
analogous
#576FEE #8A57EE #D557EE
triadic
#8A57EE #EE8A57 #57EE8A
tetradic
#8A57EE #EE576F #BBEE57 #57EED5
square
#8A57EE #EE576F #BBEE57 #57EED5
split-complementary
#8A57EE #EED557 #6FEE57
monochromatic
#4A13B8 #631FE8 #8A57EE #B18FF4 #D7C6F9

Accessibility & contrast

On white

4.49
#8A57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8A57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A57EE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57EE#FFFFFF#000000##000000
##8A57EE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#6F7A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a57ee;
/* rgb */ color: rgb(138, 87, 238);
/* oklch */ color: oklch(59.2% 0.216 294.4);
Tailwind
colors: {
  custom: {
    50: '#b389f4',
    500: '#8a57ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ee;
$custom-light: #b389f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ee",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 260.265,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59177,
    "c": 0.2159,
    "h": 294.4
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#8A57EE
secondary
#D9EBB6
accent
#DE0896
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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