#8057D9#8057D9

#8057D9 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.190 H 294.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8057D9
RGBrgb(128, 87, 217)
HSLhsl(259, 63%, 60%)
HSVhsv(259, 60%, 85%)
CMYKcmyk(41%, 59.9%, 0%, 14.9%)
CIE-LABlab(47.51, 45.87, -61.02)
CIE-LCHlch(47.51, 76.34, 306.93°)
OKLaboklab(56.7% 0.0774 -0.1739)
OKLCHoklch(56.7% 0.19 294)
XYZxyz(24.8313, 16.4147, 67.4922)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057D9 #B0D957
analogous
#576FD9 #8057D9 #C157D9
triadic
#8057D9 #D98057 #57D980
tetradic
#8057D9 #D9576F #B0D957 #57D9C1
square
#8057D9 #D9576F #B0D957 #57D9C1
split-complementary
#8057D9 #D9C157 #6FD957
monochromatic
#462194 #5D2DC6 #8057D9 #A689E4 #CBBBF0

Accessibility & contrast

On white

4.90
#8057D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8057D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8057D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057D9#FFFFFF#000000##FFFFFF
##8057D91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0A6FD6
Tritanopia (blue-blind)
#687490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8057d9;
/* rgb */ color: rgb(128, 87, 217);
/* oklch */ color: oklch(56.7% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa88e5',
    500: '#8057d9',
    950: '#000000',
  },
}
SCSS
$custom: #8057d9;
$custom-light: #aa88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8057d9",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 258.923,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.19033,
    "h": 294
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#8057D9
secondary
#CFDFAD
accent
#E642B2
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8057D9

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

Preview Lab → · Contrast checker → · Palette generator →

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