#8057DE#8057DE

#8057DE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.196 H 293.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8057DE
RGBrgb(128, 87, 222)
HSLhsl(258, 67%, 61%)
HSVhsv(258, 61%, 87%)
CMYKcmyk(42.3%, 60.8%, 0%, 12.9%)
CIE-LABlab(47.85, 47.22, -63.32)
CIE-LCHlch(47.85, 78.98, 306.71°)
OKLaboklab(57.06% 0.0772 -0.1806)
OKLCHoklch(57.06% 0.196 293.1)
XYZxyz(25.4915, 16.6788, 70.9693)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DE #B5DE57
analogous
#5771DE #8057DE #C357DE
triadic
#8057DE #DE8057 #57DE80
tetradic
#8057DE #DE5771 #B5DE57 #57DEC3
square
#8057DE #DE5771 #B5DE57 #57DEC3
split-complementary
#8057DE #DEC357 #71DE57
monochromatic
#451F9C #5B29CF #8057DE #A78AE8 #CDBDF2

Accessibility & contrast

On white

4.84
#8057DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8057DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DE#FFFFFF#000000##FFFFFF
##8057DE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#667692
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8057de;
/* rgb */ color: rgb(128, 87, 222);
/* oklch */ color: oklch(57.1% 0.196 293.1);
Tailwind
colors: {
  custom: {
    50: '#ab88e9',
    500: '#8057de',
    950: '#000000',
  },
}
SCSS
$custom: #8057de;
$custom-light: #ab88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8057de",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 258.222,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.19642,
    "h": 293.1
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#8057DE
secondary
#D2E2AF
accent
#CF1697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DE

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

Preview Lab → · Contrast checker → · Palette generator →

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