#8A57CA#8A57CA

#8A57CA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.173 H 301.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A57CA
RGBrgb(138, 87, 202)
HSLhsl(267, 52%, 57%)
HSVhsv(267, 57%, 79%)
CMYKcmyk(31.7%, 56.9%, 0%, 20.8%)
CIE-LABlab(47.60, 44.26, -52.24)
CIE-LCHlch(47.60, 68.47, 310.28°)
OKLaboklab(56.7% 0.0907 -0.1477)
OKLCHoklch(56.7% 0.173 301.6)
XYZxyz(24.5476, 16.4839, 57.7541)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57CA #97CA57
analogous
#575ECA #8A57CA #C457CA
triadic
#8A57CA #CA8A57 #57CA8A
tetradic
#8A57CA #CA575E #97CA57 #57CAC4
square
#8A57CA #CA575E #97CA57 #57CAC4
split-complementary
#8A57CA #CAC457 #5ECA57
monochromatic
#4E287F #6B37AD #8A57CA #AA86D9 #CBB4E7

Accessibility & contrast

On white

4.89
#8A57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8A57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57CA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57CA#FFFFFF#000000##FFFFFF
##8A57CA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#7D6E88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a57ca;
/* rgb */ color: rgb(138, 87, 202);
/* oklch */ color: oklch(56.7% 0.173 301.6);
Tailwind
colors: {
  custom: {
    50: '#b088db',
    500: '#8a57ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a57ca;
$custom-light: #b088db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57ca",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 266.609,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.17338,
    "h": 301.6
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#8A57CA
secondary
#C1D6A7
accent
#DB4C9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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