#8057CA#8057CA

#8057CA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.172 H 296.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8057CA
RGBrgb(128, 87, 202)
HSLhsl(261, 52%, 57%)
HSVhsv(261, 57%, 79%)
CMYKcmyk(36.6%, 56.9%, 0%, 20.8%)
CIE-LABlab(46.54, 41.87, -54.00)
CIE-LCHlch(46.54, 68.34, 307.79°)
OKLaboklab(55.68% 0.0777 -0.1532)
OKLCHoklch(55.68% 0.172 296.9)
XYZxyz(22.9683, 15.6695, 57.6801)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057CA #A1CA57
analogous
#5768CA #8057CA #B957CA
triadic
#8057CA #CA8057 #57CA80
tetradic
#8057CA #CA5768 #A1CA57 #57CAB9
square
#8057CA #CA5768 #A1CA57 #57CAB9
split-complementary
#8057CA #CAB957 #68CA57
monochromatic
#47287F #6137AD #8057CA #A386D9 #C6B4E7

Accessibility & contrast

On white

5.08
#8057CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8057CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057CA#FFFFFF#000000##FFFFFF
##8057CA1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#2D6DC7
Tritanopia (blue-blind)
#6F6F88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8057ca;
/* rgb */ color: rgb(128, 87, 202);
/* oklch */ color: oklch(55.7% 0.172 296.9);
Tailwind
colors: {
  custom: {
    50: '#a988db',
    500: '#8057ca',
    950: '#000000',
  },
}
SCSS
$custom: #8057ca;
$custom-light: #a988db;
$custom-dark: #000000;
JSON
{
  "hex": "#8057ca",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 261.391,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.17182,
    "h": 296.9
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#8057CA
secondary
#C5D6A7
accent
#DB4CA8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8057CA

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

Preview Lab → · Contrast checker → · Palette generator →

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