#8057FA#8057FA

#8057FA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.230 H 289.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8057FA
RGBrgb(128, 87, 250)
HSLhsl(255, 94%, 66%)
HSVhsv(255, 65%, 98%)
CMYKcmyk(48.8%, 65.2%, 0%, 2%)
CIE-LABlab(49.87, 54.86, -75.79)
CIE-LCHlch(49.87, 93.56, 305.90°)
OKLaboklab(59.15% 0.0746 -0.2173)
OKLCHoklch(59.15% 0.23 289)
XYZxyz(29.5606, 18.3064, 92.3999)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057FA #D1FA57
analogous
#577FFA #8057FA #D157FA
triadic
#8057FA #FA8057 #57FA80
tetradic
#8057FA #FA577F #D1FA57 #57FAD1
square
#8057FA #FA577F #D1FA57 #57FAD1
split-complementary
#8057FA #FAD157 #7FFA57
monochromatic
#3906D0 #531CF8 #8057FA #AD92FC #DACEFE

Accessibility & contrast

On white

4.50
#8057FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8057FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8057FA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057FA#FFFFFF#000000##000000
##8057FA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0073F7
Tritanopia (blue-blind)
#567FA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8057fa;
/* rgb */ color: rgb(128, 87, 250);
/* oklch */ color: oklch(59.1% 0.230 289.0);
Tailwind
colors: {
  custom: {
    50: '#ae89fd',
    500: '#8057fa',
    950: '#000000',
  },
}
SCSS
$custom: #8057fa;
$custom-light: #ae89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8057fa",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 255.092,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.22974,
    "h": 289
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#8057FA
secondary
#E4F1BC
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8057FA

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

Preview Lab → · Contrast checker → · Palette generator →

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