#8057F3#8057F3

#8057F3 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.222 H 289.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8057F3
RGBrgb(128, 87, 243)
HSLhsl(256, 87%, 65%)
HSVhsv(256, 64%, 95%)
CMYKcmyk(47.3%, 64.2%, 0%, 4.7%)
CIE-LABlab(49.34, 52.94, -72.73)
CIE-LCHlch(49.34, 89.96, 306.05°)
OKLaboklab(58.61% 0.0754 -0.2083)
OKLCHoklch(58.61% 0.222 289.9)
XYZxyz(28.4833, 17.8755, 86.7262)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057F3 #CAF357
analogous
#577CF3 #8057F3 #CE57F3
triadic
#8057F3 #F38057 #57F380
tetradic
#8057F3 #F3577C #CAF357 #57F3CE
square
#8057F3 #F3577C #CAF357 #57F3CE
split-complementary
#8057F3 #F3CE57 #7CF357
monochromatic
#3D0EC2 #551EEF #8057F3 #AB90F7 #D6C9FB

Accessibility & contrast

On white

4.59
#8057F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8057F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8057F3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057F3#FFFFFF#000000##FFFFFF
##8057F31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#5B7D9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8057f3;
/* rgb */ color: rgb(128, 87, 243);
/* oklch */ color: oklch(58.6% 0.222 289.9);
Tailwind
colors: {
  custom: {
    50: '#ad89f8',
    500: '#8057f3',
    950: '#000000',
  },
}
SCSS
$custom: #8057f3;
$custom-light: #ad89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8057f3",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 255.769,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.22153,
    "h": 289.9
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#8057F3
secondary
#E0EEB8
accent
#E302A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057F3

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

Preview Lab → · Contrast checker → · Palette generator →

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