#8057CF#8057CF

#8057CF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.178 H 295.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8057CF
RGBrgb(128, 87, 207)
HSLhsl(261, 56%, 58%)
HSVhsv(261, 58%, 81%)
CMYKcmyk(38.2%, 58%, 0%, 18.8%)
CIE-LABlab(46.86, 43.20, -56.36)
CIE-LCHlch(46.86, 71.01, 307.47°)
OKLaboklab(56.01% 0.0777 -0.1602)
OKLCHoklch(56.01% 0.178 295.9)
XYZxyz(23.5699, 15.9101, 60.8485)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057CF #A6CF57
analogous
#576ACF #8057CF #BC57CF
triadic
#8057CF #CF8057 #57CF80
tetradic
#8057CF #CF576A #A6CF57 #57CFBC
square
#8057CF #CF576A #A6CF57 #57CFBC
split-complementary
#8057CF #CFBC57 #6ACF57
monochromatic
#472685 #6034B5 #8057CF #A487DD #C8B6EA

Accessibility & contrast

On white

5.02
#8057CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8057CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057CF#FFFFFF#000000##FFFFFF
##8057CF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#6D718B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8057cf;
/* rgb */ color: rgb(128, 87, 207);
/* oklch */ color: oklch(56.0% 0.178 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa88de',
    500: '#8057cf',
    950: '#000000',
  },
}
SCSS
$custom: #8057cf;
$custom-light: #aa88de;
$custom-dark: #000000;
JSON
{
  "hex": "#8057cf",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 260.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.17803,
    "h": 295.9
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#8057CF
secondary
#C9D9A9
accent
#DF49AC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8057CF

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

Preview Lab → · Contrast checker → · Palette generator →

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