#8057DF#8057DF

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

Color values

HEX#8057DF
RGBrgb(128, 87, 223)
HSLhsl(258, 68%, 61%)
HSVhsv(258, 61%, 87%)
CMYKcmyk(42.6%, 61%, 0%, 12.5%)
CIE-LABlab(47.92, 47.49, -63.77)
CIE-LCHlch(47.92, 79.51, 306.67°)
OKLaboklab(57.13% 0.0771 -0.1819)
OKLCHoklch(57.13% 0.198 293)
XYZxyz(25.6259, 16.7326, 71.6773)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057DF #B6DF57
analogous
#5772DF #8057DF #C457DF
triadic
#8057DF #DF8057 #57DF80
tetradic
#8057DF #DF5772 #B6DF57 #57DFC4
square
#8057DF #DF5772 #B6DF57 #57DFC4
split-complementary
#8057DF #DFC457 #72DF57
monochromatic
#441E9E #5B28D1 #8057DF #A78AE9 #CEBEF3

Accessibility & contrast

On white

4.83
#8057DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8057DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057DF#FFFFFF#000000##FFFFFF
##8057DF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#667693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8057df;
/* rgb */ color: rgb(128, 87, 223);
/* oklch */ color: oklch(57.1% 0.198 293.0);
Tailwind
colors: {
  custom: {
    50: '#ab88ea',
    500: '#8057df',
    950: '#000000',
  },
}
SCSS
$custom: #8057df;
$custom-light: #ab88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8057df",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 258.088,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.19763,
    "h": 293
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#8057DF
secondary
#D3E3AF
accent
#D01698
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057DF

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

Preview Lab → · Contrast checker → · Palette generator →

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