#8057BB#8057BB

#8057BB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.153 H 300.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8057BB
RGBrgb(128, 87, 187)
HSLhsl(265, 42%, 54%)
HSVhsv(265, 53%, 73%)
CMYKcmyk(31.6%, 53.5%, 0%, 26.7%)
CIE-LABlab(45.63, 37.97, -46.78)
CIE-LCHlch(45.63, 60.25, 309.07°)
OKLaboklab(54.71% 0.0773 -0.132)
OKLCHoklch(54.71% 0.153 300.3)
XYZxyz(21.2778, 14.9933, 48.7771)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057BB #92BB57
analogous
#5760BB #8057BB #B257BB
triadic
#8057BB #BB8057 #57BB80
tetradic
#8057BB #BB5760 #92BB57 #57BBB2
square
#8057BB #BB5760 #92BB57 #57BBB2
split-complementary
#8057BB #BBB257 #60BB57
monochromatic
#462C6C #623D97 #8057BB #A183CD #C2AEDE

Accessibility & contrast

On white

5.25
#8057BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8057BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057BB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057BB#FFFFFF#000000##FFFFFF
##8057BB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#746A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8057bb;
/* rgb */ color: rgb(128, 87, 187);
/* oklch */ color: oklch(54.7% 0.153 300.3);
Tailwind
colors: {
  custom: {
    50: '#a888d0',
    500: '#8057bb',
    950: '#000000',
  },
}
SCSS
$custom: #8057bb;
$custom-light: #a888d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8057bb",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 264.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.15299,
    "h": 300.3
  },
  "luminance": 0.14993
}

Semantic roles & 50–950 ramp

primary
#8057BB
secondary
#BBCCA2
accent
#D2569F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8057BB

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

Preview Lab → · Contrast checker → · Palette generator →

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