#8057DD#8057DD

#8057DD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.195 H 293.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8057DD
RGBrgb(128, 87, 221)
HSLhsl(258, 66%, 60%)
HSVhsv(258, 61%, 87%)
CMYKcmyk(42.1%, 60.6%, 0%, 13.3%)
CIE-LABlab(47.78, 46.95, -62.86)
CIE-LCHlch(47.78, 78.46, 306.75°)
OKLaboklab(56.99% 0.0773 -0.1793)
OKLCHoklch(56.99% 0.195 293.3)
XYZxyz(25.3579, 16.6254, 70.2656)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DD #B4DD57
analogous
#5771DD #8057DD #C357DD
triadic
#8057DD #DD8057 #57DD80
tetradic
#8057DD #DD5771 #B4DD57 #57DDC3
square
#8057DD #DD5771 #B4DD57 #57DDC3
split-complementary
#8057DD #DDC357 #71DD57
monochromatic
#451F9A #5C2ACD #8057DD #A68AE7 #CDBDF2

Accessibility & contrast

On white

4.86
#8057DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8057DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DD#FFFFFF#000000##FFFFFF
##8057DD1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#677592
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057dd;
/* rgb */ color: rgb(128, 87, 221);
/* oklch */ color: oklch(57.0% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab88e8',
    500: '#8057dd',
    950: '#000000',
  },
}
SCSS
$custom: #8057dd;
$custom-light: #ab88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8057dd",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 258.358,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.1952,
    "h": 293.3
  },
  "luminance": 0.16626
}

Semantic roles & 50–950 ramp

primary
#8057DD
secondary
#D2E1AE
accent
#CE1796
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8057DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva