#8057DA#8057DA

#8057DA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.192 H 293.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8057DA
RGBrgb(128, 87, 218)
HSLhsl(259, 64%, 60%)
HSVhsv(259, 60%, 85%)
CMYKcmyk(41.3%, 60.1%, 0%, 14.5%)
CIE-LABlab(47.58, 46.14, -61.48)
CIE-LCHlch(47.58, 76.87, 306.89°)
OKLaboklab(56.77% 0.0774 -0.1752)
OKLCHoklch(56.77% 0.192 293.8)
XYZxyz(24.9618, 16.4669, 68.1793)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DA #B1DA57
analogous
#576FDA #8057DA #C257DA
triadic
#8057DA #DA8057 #57DA80
tetradic
#8057DA #DA576F #B1DA57 #57DAC2
square
#8057DA #DA576F #B1DA57 #57DAC2
split-complementary
#8057DA #DAC257 #6FDA57
monochromatic
#452196 #5D2CC8 #8057DA #A689E5 #CCBBF0

Accessibility & contrast

On white

4.89
#8057DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8057DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DA#FFFFFF#000000##FFFFFF
##8057DA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#056FD7
Tritanopia (blue-blind)
#687490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057da;
/* rgb */ color: rgb(128, 87, 218);
/* oklch */ color: oklch(56.8% 0.192 293.8);
Tailwind
colors: {
  custom: {
    50: '#ab88e6',
    500: '#8057da',
    950: '#000000',
  },
}
SCSS
$custom: #8057da;
$custom-light: #ab88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8057da",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 258.779,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56772,
    "c": 0.19154,
    "h": 293.8
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#8057DA
secondary
#D0E0AD
accent
#E741B3
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DA

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

Preview Lab → · Contrast checker → · Palette generator →

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