#8057BE#8057BE

#8057BE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.157 H 299.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8057BE
RGBrgb(128, 87, 190)
HSLhsl(264, 44%, 54%)
HSVhsv(264, 54%, 75%)
CMYKcmyk(32.6%, 54.2%, 0%, 25.5%)
CIE-LABlab(45.80, 38.74, -48.24)
CIE-LCHlch(45.80, 61.88, 308.77°)
OKLaboklab(54.9% 0.0774 -0.1363)
OKLCHoklch(54.9% 0.157 299.6)
XYZxyz(21.6023, 15.1231, 50.4862)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057BE #95BE57
analogous
#5762BE #8057BE #B357BE
triadic
#8057BE #BE8057 #57BE80
tetradic
#8057BE #BE5762 #95BE57 #57BEB3
square
#8057BE #BE5762 #95BE57 #57BEB3
split-complementary
#8057BE #BEB357 #62BE57
monochromatic
#462B6F #623C9C #8057BE #A183CF #C3AFE0

Accessibility & contrast

On white

5.22
#8057BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8057BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057BE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057BE#FFFFFF#000000##FFFFFF
##8057BE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#736B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8057be;
/* rgb */ color: rgb(128, 87, 190);
/* oklch */ color: oklch(54.9% 0.157 299.6);
Tailwind
colors: {
  custom: {
    50: '#a888d2',
    500: '#8057be',
    950: '#000000',
  },
}
SCSS
$custom: #8057be;
$custom-light: #a888d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8057be",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 263.883,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.15679,
    "h": 299.6
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#8057BE
secondary
#BDCEA3
accent
#D454A1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8057BE

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

Preview Lab → · Contrast checker → · Palette generator →

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