#8057EA#8057EA

#8057EA is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.211 H 291.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8057EA
RGBrgb(128, 87, 234)
HSLhsl(257, 78%, 63%)
HSVhsv(257, 63%, 92%)
CMYKcmyk(45.3%, 62.8%, 0%, 8.2%)
CIE-LABlab(48.69, 50.48, -68.74)
CIE-LCHlch(48.69, 85.28, 306.29°)
OKLaboklab(57.93% 0.0763 -0.1966)
OKLCHoklch(57.93% 0.211 291.2)
XYZxyz(27.1574, 17.3452, 79.7430)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057EA #C1EA57
analogous
#5777EA #8057EA #CA57EA
triadic
#8057EA #EA8057 #57EA80
tetradic
#8057EA #EA5777 #C1EA57 #57EACA
square
#8057EA #EA5777 #C1EA57 #57EACA
split-complementary
#8057EA #EACA57 #77EA57
monochromatic
#4116B1 #5721E3 #8057EA #A98DF1 #D2C4F8

Accessibility & contrast

On white

4.70
#8057EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8057EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057EA#FFFFFF#000000##FFFFFF
##8057EA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#607A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8057ea;
/* rgb */ color: rgb(128, 87, 234);
/* oklch */ color: oklch(57.9% 0.211 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac88f2',
    500: '#8057ea',
    950: '#000000',
  },
}
SCSS
$custom: #8057ea;
$custom-light: #ac88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ea",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 256.735,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57932,
    "c": 0.21086,
    "h": 291.2
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#8057EA
secondary
#DAE9B4
accent
#DA0BA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057EA

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

Preview Lab → · Contrast checker → · Palette generator →

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