#8A57CE#8A57CE

#8A57CE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.178 H 300.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A57CE
RGBrgb(138, 87, 206)
HSLhsl(266, 55%, 57%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(33%, 57.8%, 0%, 19.2%)
CIE-LABlab(47.85, 45.27, -54.14)
CIE-LCHlch(47.85, 70.57, 309.90°)
OKLaboklab(56.96% 0.0908 -0.1533)
OKLCHoklch(56.96% 0.178 300.6)
XYZxyz(25.0274, 16.6757, 60.2808)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57CE #9BCE57
analogous
#5760CE #8A57CE #C557CE
triadic
#8A57CE #CE8A57 #57CE8A
tetradic
#8A57CE #CE5760 #9BCE57 #57CEC5
square
#8A57CE #CE5760 #9BCE57 #57CEC5
split-complementary
#8A57CE #CEC557 #60CE57
monochromatic
#4F2784 #6B34B3 #8A57CE #AB86DC #CCB6EA

Accessibility & contrast

On white

4.84
#8A57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8A57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57CE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57CE#FFFFFF#000000##FFFFFF
##8A57CE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#7C6F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a57ce;
/* rgb */ color: rgb(138, 87, 206);
/* oklch */ color: oklch(57.0% 0.178 300.6);
Tailwind
colors: {
  custom: {
    50: '#b088de',
    500: '#8a57ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ce;
$custom-light: #b088de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ce",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 265.714,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.17817,
    "h": 300.6
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#8A57CE
secondary
#C4D8A8
accent
#DE4A9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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