#8057CD#8057CD

#8057CD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.176 H 296.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8057CD
RGBrgb(128, 87, 205)
HSLhsl(261, 54%, 57%)
HSVhsv(261, 58%, 80%)
CMYKcmyk(37.6%, 57.6%, 0%, 19.6%)
CIE-LABlab(46.73, 42.67, -55.42)
CIE-LCHlch(46.73, 69.94, 307.59°)
OKLaboklab(55.88% 0.0777 -0.1574)
OKLCHoklch(55.88% 0.176 296.3)
XYZxyz(23.3269, 15.8130, 59.5690)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057CD #A4CD57
analogous
#5769CD #8057CD #BB57CD
triadic
#8057CD #CD8057 #57CD80
tetradic
#8057CD #CD5769 #A4CD57 #57CDBB
square
#8057CD #CD5769 #A4CD57 #57CDBB
split-complementary
#8057CD #CDBB57 #69CD57
monochromatic
#472783 #6035B2 #8057CD #A486DB #C7B5E9

Accessibility & contrast

On white

5.04
#8057CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8057CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057CD#FFFFFF#000000##FFFFFF
##8057CD1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#6E708A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8057cd;
/* rgb */ color: rgb(128, 87, 205);
/* oklch */ color: oklch(55.9% 0.176 296.3);
Tailwind
colors: {
  custom: {
    50: '#a988dd',
    500: '#8057cd',
    950: '#000000',
  },
}
SCSS
$custom: #8057cd;
$custom-light: #a988dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8057cd",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 260.847,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.17555,
    "h": 296.3
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#8057CD
secondary
#C7D8A8
accent
#DD4AAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8057CD

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

Preview Lab → · Contrast checker → · Palette generator →

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