#8057F6#8057F6

#8057F6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.225 H 289.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8057F6
RGBrgb(128, 87, 246)
HSLhsl(255, 90%, 65%)
HSVhsv(255, 65%, 96%)
CMYKcmyk(48%, 64.6%, 0%, 3.5%)
CIE-LABlab(49.57, 53.76, -74.05)
CIE-LCHlch(49.57, 91.50, 305.98°)
OKLaboklab(58.84% 0.0751 -0.2122)
OKLCHoklch(58.84% 0.225 289.5)
XYZxyz(28.9401, 18.0582, 89.1316)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8057F6 #CDF657
analogous
#577DF6 #8057F6 #D057F6
triadic
#8057F6 #F68057 #57F680
tetradic
#8057F6 #F6577D #CDF657 #57F6D0
square
#8057F6 #F6577D #CDF657 #57F6D0
split-complementary
#8057F6 #F6D057 #7DF657
monochromatic
#3B0BC8 #541DF3 #8057F6 #AC91F9 #D8CBFC

Accessibility & contrast

On white

4.55
#8057F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8057F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8057F6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8057F6#FFFFFF#000000##000000
##8057F61.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#597E9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8057f6;
/* rgb */ color: rgb(128, 87, 246);
/* oklch */ color: oklch(58.8% 0.225 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae89fa',
    500: '#8057f6',
    950: '#000000',
  },
}
SCSS
$custom: #8057f6;
$custom-light: #ae89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8057f6",
  "rgb": {
    "r": 128,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 255.472,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.22506,
    "h": 289.5
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#8057F6
secondary
#E1EFBA
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8057F6

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

Preview Lab → · Contrast checker → · Palette generator →

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