#8A57E0#8A57E0

#8A57E0 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.200 H 296.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A57E0
RGBrgb(138, 87, 224)
HSLhsl(262, 69%, 61%)
HSVhsv(262, 61%, 88%)
CMYKcmyk(38.4%, 61.2%, 0%, 12.2%)
CIE-LABlab(49.01, 49.85, -62.53)
CIE-LCHlch(49.01, 79.97, 308.56°)
OKLaboklab(58.18% 0.0902 -0.178)
OKLCHoklch(58.18% 0.2 296.9)
XYZxyz(27.3405, 17.6010, 72.4634)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57E0 #ADE057
analogous
#5768E0 #8A57E0 #CE57E0
triadic
#8A57E0 #E08A57 #57E08A
tetradic
#8A57E0 #E05768 #ADE057 #57E0CE
square
#8A57E0 #E05768 #ADE057 #57E0CE
split-complementary
#8A57E0 #E0CE57 #68E057
monochromatic
#4E1D9F #6727D3 #8A57E0 #AE8BEA #D2BEF3

Accessibility & contrast

On white

4.65
#8A57E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8A57E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57E0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57E0#FFFFFF#000000##FFFFFF
##8A57E01.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#1173DD
Tritanopia (blue-blind)
#757593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a57e0;
/* rgb */ color: rgb(138, 87, 224);
/* oklch */ color: oklch(58.2% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#b289ea',
    500: '#8a57e0',
    950: '#000000',
  },
}
SCSS
$custom: #8a57e0;
$custom-light: #b289ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57e0",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 224
  },
  "hsl": {
    "h": 262.336,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.19954,
    "h": 296.9
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#8A57E0
secondary
#D0E3B0
accent
#D1158B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A57E0

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

Preview Lab → · Contrast checker → · Palette generator →

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