#8057CC#8057CC

#8057CC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.174 H 296.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8057CC
RGBrgb(128, 87, 204)
HSLhsl(261, 53%, 57%)
HSVhsv(261, 57%, 80%)
CMYKcmyk(37.3%, 57.4%, 0%, 20%)
CIE-LABlab(46.66, 42.40, -54.95)
CIE-LCHlch(46.66, 69.41, 307.66°)
OKLaboklab(55.81% 0.0777 -0.156)
OKLCHoklch(55.81% 0.174 296.5)
XYZxyz(23.2066, 15.7648, 58.9353)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057CC #A3CC57
analogous
#5768CC #8057CC #BB57CC
triadic
#8057CC #CC8057 #57CC80
tetradic
#8057CC #CC5768 #A3CC57 #57CCBB
square
#8057CC #CC5768 #A3CC57 #57CCBB
split-complementary
#8057CC #CCBB57 #68CC57
monochromatic
#472781 #6136B0 #8057CC #A386DA #C7B5E9

Accessibility & contrast

On white

5.06
#8057CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8057CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057CC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057CC#FFFFFF#000000##FFFFFF
##8057CC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#6E7089
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8057cc;
/* rgb */ color: rgb(128, 87, 204);
/* oklch */ color: oklch(55.8% 0.174 296.5);
Tailwind
colors: {
  custom: {
    50: '#a988dc',
    500: '#8057cc',
    950: '#000000',
  },
}
SCSS
$custom: #8057cc;
$custom-light: #a988dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8057cc",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 261.026,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.17431,
    "h": 296.5
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#8057CC
secondary
#C7D7A8
accent
#DD4BAA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8057CC

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

Preview Lab → · Contrast checker → · Palette generator →

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