#8A57CF#8A57CF

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

Color values

HEX#8A57CF
RGBrgb(138, 87, 207)
HSLhsl(266, 56%, 58%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(33.3%, 58%, 0%, 18.8%)
CIE-LABlab(47.91, 45.52, -54.61)
CIE-LCHlch(47.91, 71.09, 309.81°)
OKLaboklab(57.03% 0.0908 -0.1547)
OKLCHoklch(57.03% 0.179 300.4)
XYZxyz(25.1492, 16.7245, 60.9226)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57CF #9CCF57
analogous
#5760CF #8A57CF #C657CF
triadic
#8A57CF #CF8A57 #57CF8A
tetradic
#8A57CF #CF5760 #9CCF57 #57CFC6
square
#8A57CF #CF5760 #9CCF57 #57CFC6
split-complementary
#8A57CF #CFC657 #60CF57
monochromatic
#4F2685 #6B34B5 #8A57CF #AB87DD #CCB6EA

Accessibility & contrast

On white

4.83
#8A57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8A57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57CF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57CF#FFFFFF#000000##FFFFFF
##8A57CF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#7C708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a57cf;
/* rgb */ color: rgb(138, 87, 207);
/* oklch */ color: oklch(57.0% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#b088de',
    500: '#8a57cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a57cf;
$custom-light: #b088de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57cf",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 265.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.17938,
    "h": 300.4
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#8A57CF
secondary
#C5D9A9
accent
#DF499F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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