#8056F2#8056F2

#8056F2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.222 H 290.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8056F2
RGBrgb(128, 86, 242)
HSLhsl(256, 86%, 64%)
HSVhsv(256, 64%, 95%)
CMYKcmyk(47.1%, 64.5%, 0%, 5.1%)
CIE-LABlab(49.07, 53.20, -72.61)
CIE-LCHlch(49.07, 90.01, 306.23°)
OKLaboklab(58.39% 0.0765 -0.2079)
OKLCHoklch(58.39% 0.222 290.2)
XYZxyz(28.2523, 17.6545, 85.9062)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056F2 #C8F256
analogous
#567AF2 #8056F2 #CE56F2
triadic
#8056F2 #F28056 #56F280
tetradic
#8056F2 #F2567A #C8F256 #56F2CE
square
#8056F2 #F2567A #C8F256 #56F2CE
split-complementary
#8056F2 #F2CE56 #7AF256
monochromatic
#3E0FBF #551DEE #8056F2 #AB8FF6 #D5C8FB

Accessibility & contrast

On white

4.63
#8056F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8056F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8056F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056F2#FFFFFF#000000##FFFFFF
##8056F21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#5B7C9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8056f2;
/* rgb */ color: rgb(128, 86, 242);
/* oklch */ color: oklch(58.4% 0.222 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad88f7',
    500: '#8056f2',
    950: '#000000',
  },
}
SCSS
$custom: #8056f2;
$custom-light: #ad88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8056f2",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 256.154,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.22158,
    "h": 290.2
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#8056F2
secondary
#DEEDB7
accent
#E203A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8056F2

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

Preview Lab → · Contrast checker → · Palette generator →

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