#8A57DD#8A57DD

#8A57DD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.196 H 297.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A57DD
RGBrgb(138, 87, 221)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.6%, 60.6%, 0%, 13.3%)
CIE-LABlab(48.81, 49.08, -61.15)
CIE-LCHlch(48.81, 78.41, 308.75°)
OKLaboklab(57.97% 0.0904 -0.1739)
OKLCHoklch(57.97% 0.196 297.5)
XYZxyz(26.9373, 17.4397, 70.3396)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A57DD #AADD57
analogous
#5767DD #8A57DD #CD57DD
triadic
#8A57DD #DD8A57 #57DD8A
tetradic
#8A57DD #DD5767 #AADD57 #57DDCD
square
#8A57DD #DD5767 #AADD57 #57DDCD
split-complementary
#8A57DD #DDCD57 #67DD57
monochromatic
#4E1F9A #682ACD #8A57DD #AD8AE7 #D1BDF2

Accessibility & contrast

On white

4.68
#8A57DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8A57DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A57DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A57DD#FFFFFF#000000##FFFFFF
##8A57DD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#1A72DA
Tritanopia (blue-blind)
#767492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a57dd;
/* rgb */ color: rgb(138, 87, 221);
/* oklch */ color: oklch(58.0% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#b189e8',
    500: '#8a57dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a57dd;
$custom-light: #b189e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a57dd",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 262.836,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.19601,
    "h": 297.5
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#8A57DD
secondary
#CEE1AE
accent
#CE1789
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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