#8057DB#8057DB

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

Color values

HEX#8057DB
RGBrgb(128, 87, 219)
HSLhsl(259, 65%, 60%)
HSVhsv(259, 60%, 86%)
CMYKcmyk(41.6%, 60.3%, 0%, 14.1%)
CIE-LABlab(47.65, 46.41, -61.94)
CIE-LCHlch(47.65, 77.40, 306.84°)
OKLaboklab(56.84% 0.0774 -0.1766)
OKLCHoklch(56.84% 0.193 293.7)
XYZxyz(25.0930, 16.5194, 68.8706)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DB #B2DB57
analogous
#5770DB #8057DB #C257DB
triadic
#8057DB #DB8057 #57DB80
tetradic
#8057DB #DB5770 #B2DB57 #57DBC2
square
#8057DB #DB5770 #B2DB57 #57DBC2
split-complementary
#8057DB #DBC257 #70DB57
monochromatic
#452097 #5C2BCA #8057DB #A689E6 #CCBCF1

Accessibility & contrast

On white

4.88
#8057DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8057DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DB#FFFFFF#000000##FFFFFF
##8057DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#687591
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057db;
/* rgb */ color: rgb(128, 87, 219);
/* oklch */ color: oklch(56.8% 0.193 293.7);
Tailwind
colors: {
  custom: {
    50: '#ab88e7',
    500: '#8057db',
    950: '#000000',
  },
}
SCSS
$custom: #8057db;
$custom-light: #ab88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8057db",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 258.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.19277,
    "h": 293.7
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#8057DB
secondary
#D1E0AD
accent
#E840B4
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DB

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

Preview Lab → · Contrast checker → · Palette generator →

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