#8056F6#8056F6

#8056F6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.226 H 289.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8056F6
RGBrgb(128, 86, 246)
HSLhsl(256, 90%, 65%)
HSVhsv(256, 65%, 96%)
CMYKcmyk(48%, 65%, 0%, 3.5%)
CIE-LABlab(49.37, 54.29, -74.36)
CIE-LCHlch(49.37, 92.07, 306.13°)
OKLaboklab(58.7% 0.0761 -0.2131)
OKLCHoklch(58.7% 0.226 289.6)
XYZxyz(28.8597, 17.8974, 89.1048)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056F6 #CCF656
analogous
#567CF6 #8056F6 #D056F6
triadic
#8056F6 #F68056 #56F680
tetradic
#8056F6 #F6567C #CCF656 #56F6D0
square
#8056F6 #F6567C #CCF656 #56F6D0
split-complementary
#8056F6 #F6D056 #7CF656
monochromatic
#3C0BC7 #541CF3 #8056F6 #AC90F9 #D7CAFC

Accessibility & contrast

On white

4.59
#8056F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8056F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8056F6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056F6#FFFFFF#000000##FFFFFF
##8056F61.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)
#0078FB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#597D9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8056f6;
/* rgb */ color: rgb(128, 86, 246);
/* oklch */ color: oklch(58.7% 0.226 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae88fa',
    500: '#8056f6',
    950: '#000000',
  },
}
SCSS
$custom: #8056f6;
$custom-light: #ae88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8056f6",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 255.75,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.22626,
    "h": 289.6
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#8056F6
secondary
#E1EFB9
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8056F6

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

Preview Lab → · Contrast checker → · Palette generator →

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