#8057AF#8057AF

#8057AF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.0% C 0.138 H 303.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8057AF
RGBrgb(128, 87, 175)
HSLhsl(268, 35%, 51%)
HSVhsv(268, 50%, 69%)
CMYKcmyk(26.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(44.94, 34.94, -40.85)
CIE-LCHlch(44.94, 53.76, 310.54°)
OKLaboklab(53.98% 0.0763 -0.1147)
OKLCHoklch(53.98% 0.138 303.6)
XYZxyz(20.0465, 14.5008, 42.2920)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057AF #86AF57
analogous
#575AAF #8057AF #AC57AF
triadic
#8057AF #AF8057 #57AF80
tetradic
#8057AF #AF575A #86AF57 #57AFAC
square
#8057AF #AF575A #86AF57 #57AFAC
split-complementary
#8057AF #AFAC57 #5AAF57
monochromatic
#442D5F #624188 #8057AF #9F80C3 #BFAAD6

Accessibility & contrast

On white

5.38
#8057AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8057AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057AF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057AF#FFFFFF#000000##FFFFFF
##8057AF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#78677B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8057af;
/* rgb */ color: rgb(128, 87, 175);
/* oklch */ color: oklch(54.0% 0.138 303.6);
Tailwind
colors: {
  custom: {
    50: '#a787c7',
    500: '#8057af',
    950: '#000000',
  },
}
SCSS
$custom: #8057af;
$custom-light: #a787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8057af",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 267.955,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.13778,
    "h": 303.6
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#8057AF
secondary
#B2C49E
accent
#CC5C98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8057AF

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

Preview Lab → · Contrast checker → · Palette generator →

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