#8057CE#8057CE

#8057CE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.177 H 296.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8057CE
RGBrgb(128, 87, 206)
HSLhsl(261, 55%, 57%)
HSVhsv(261, 58%, 81%)
CMYKcmyk(37.9%, 57.8%, 0%, 19.2%)
CIE-LABlab(46.79, 42.93, -55.89)
CIE-LCHlch(46.79, 70.48, 307.53°)
OKLaboklab(55.94% 0.0777 -0.1588)
OKLCHoklch(55.94% 0.177 296.1)
XYZxyz(23.4480, 15.8614, 60.2067)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057CE #A5CE57
analogous
#576ACE #8057CE #BB57CE
triadic
#8057CE #CE8057 #57CE80
tetradic
#8057CE #CE576A #A5CE57 #57CEBB
square
#8057CE #CE576A #A5CE57 #57CEBB
split-complementary
#8057CE #CEBB57 #6ACE57
monochromatic
#472784 #6034B3 #8057CE #A486DC #C8B6EA

Accessibility & contrast

On white

5.03
#8057CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8057CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057CE#FFFFFF#000000##FFFFFF
##8057CE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#6D708A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8057ce;
/* rgb */ color: rgb(128, 87, 206);
/* oklch */ color: oklch(55.9% 0.177 296.1);
Tailwind
colors: {
  custom: {
    50: '#a988de',
    500: '#8057ce',
    950: '#000000',
  },
}
SCSS
$custom: #8057ce;
$custom-light: #a988de;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ce",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 260.672,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.17679,
    "h": 296.1
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#8057CE
secondary
#C8D8A8
accent
#DE4AAB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8057CE

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

Preview Lab → · Contrast checker → · Palette generator →

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