#8057FD#8057FD

#8057FD is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.233 H 288.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8057FD
RGBrgb(128, 87, 253)
HSLhsl(255, 98%, 67%)
HSVhsv(255, 66%, 99%)
CMYKcmyk(49.4%, 65.6%, 0%, 0.8%)
CIE-LABlab(50.09, 55.68, -77.09)
CIE-LCHlch(50.09, 95.10, 305.84°)
OKLaboklab(59.38% 0.0742 -0.2211)
OKLCHoklch(59.38% 0.233 288.6)
XYZxyz(30.0348, 18.4961, 94.8970)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057FD #D4FD57
analogous
#5781FD #8057FD #D357FD
triadic
#8057FD #FD8057 #57FD80
tetradic
#8057FD #FD5781 #D4FD57 #57FDD3
square
#8057FD #FD5781 #D4FD57 #57FDD3
split-complementary
#8057FD #FDD357 #81FD57
monochromatic
#3703D7 #521BFC #8057FD #AE93FE #DBD0FE

Accessibility & contrast

On white

4.47
#8057FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8057FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8057FD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057FD#FFFFFF#000000##000000
##8057FD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#5480A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8057fd;
/* rgb */ color: rgb(128, 87, 253);
/* oklch */ color: oklch(59.4% 0.233 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae89ff',
    500: '#8057fd',
    950: '#000000',
  },
}
SCSS
$custom: #8057fd;
$custom-light: #ae89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8057fd",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 254.819,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.23323,
    "h": 288.6
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#8057FD
secondary
#E5F3BD
accent
#E600AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8057FD

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

Preview Lab → · Contrast checker → · Palette generator →

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