#8057BC#8057BC

#8057BC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.154 H 300.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8057BC
RGBrgb(128, 87, 188)
HSLhsl(264, 43%, 54%)
HSVhsv(264, 54%, 74%)
CMYKcmyk(31.9%, 53.7%, 0%, 26.3%)
CIE-LABlab(45.68, 38.23, -47.27)
CIE-LCHlch(45.68, 60.79, 308.96°)
OKLaboklab(54.77% 0.0773 -0.1335)
OKLCHoklch(54.77% 0.154 300.1)
XYZxyz(21.3852, 15.0363, 49.3428)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057BC #93BC57
analogous
#5761BC #8057BC #B357BC
triadic
#8057BC #BC8057 #57BC80
tetradic
#8057BC #BC5761 #93BC57 #57BCB3
square
#8057BC #BC5761 #93BC57 #57BCB3
split-complementary
#8057BC #BCB357 #61BC57
monochromatic
#462C6D #623D99 #8057BC #A183CD #C2AFDF

Accessibility & contrast

On white

5.24
#8057BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8057BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057BC#FFFFFF#000000##FFFFFF
##8057BC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBF
Deuteranopia (green-blind)
#3D6BBA
Tritanopia (blue-blind)
#746B81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8057bc;
/* rgb */ color: rgb(128, 87, 188);
/* oklch */ color: oklch(54.8% 0.154 300.1);
Tailwind
colors: {
  custom: {
    50: '#a888d1',
    500: '#8057bc',
    950: '#000000',
  },
}
SCSS
$custom: #8057bc;
$custom-light: #a888d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8057bc",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 264.356,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.15426,
    "h": 300.1
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#8057BC
secondary
#BBCDA2
accent
#D355A0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8057BC

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

Preview Lab → · Contrast checker → · Palette generator →

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