#8057BF#8057BF

#8057BF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.158 H 299.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8057BF
RGBrgb(128, 87, 191)
HSLhsl(264, 45%, 55%)
HSVhsv(264, 54%, 75%)
CMYKcmyk(33%, 54.5%, 0%, 25.1%)
CIE-LABlab(45.86, 39.00, -48.73)
CIE-LCHlch(45.86, 62.41, 308.67°)
OKLaboklab(54.96% 0.0775 -0.1377)
OKLCHoklch(54.96% 0.158 299.4)
XYZxyz(21.7120, 15.1670, 51.0638)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057BF #96BF57
analogous
#5762BF #8057BF #B457BF
triadic
#8057BF #BF8057 #57BF80
tetradic
#8057BF #BF5762 #96BF57 #57BFB4
square
#8057BF #BF5762 #96BF57 #57BFB4
split-complementary
#8057BF #BFB457 #62BF57
monochromatic
#462B71 #623C9D #8057BF #A283D0 #C3B0E1

Accessibility & contrast

On white

5.21
#8057BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8057BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057BF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057BF#FFFFFF#000000##FFFFFF
##8057BF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC3
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#736C83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8057bf;
/* rgb */ color: rgb(128, 87, 191);
/* oklch */ color: oklch(55.0% 0.158 299.4);
Tailwind
colors: {
  custom: {
    50: '#a888d3',
    500: '#8057bf',
    950: '#000000',
  },
}
SCSS
$custom: #8057bf;
$custom-light: #a888d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8057bf",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 263.654,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.15804,
    "h": 299.4
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#8057BF
secondary
#BECFA3
accent
#D553A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8057BF

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

Preview Lab → · Contrast checker → · Palette generator →

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