#8056F5#8056F5

#8056F5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.225 H 289.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8056F5
RGBrgb(128, 86, 245)
HSLhsl(256, 89%, 65%)
HSVhsv(256, 65%, 96%)
CMYKcmyk(47.8%, 64.9%, 0%, 3.9%)
CIE-LABlab(49.30, 54.02, -73.93)
CIE-LCHlch(49.30, 91.56, 306.15°)
OKLaboklab(58.62% 0.0762 -0.2118)
OKLCHoklch(58.62% 0.225 289.8)
XYZxyz(28.7066, 17.8362, 88.2987)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056F5 #CBF556
analogous
#567CF5 #8056F5 #CF56F5
triadic
#8056F5 #F58056 #56F580
tetradic
#8056F5 #F5567C #CBF556 #56F5CF
square
#8056F5 #F5567C #CBF556 #56F5CF
split-complementary
#8056F5 #F5CF56 #7CF556
monochromatic
#3D0CC5 #551CF2 #8056F5 #AB90F8 #D7CAFC

Accessibility & contrast

On white

4.60
#8056F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8056F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8056F5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056F5#FFFFFF#000000##FFFFFF
##8056F51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#0071F2
Tritanopia (blue-blind)
#597D9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8056f5;
/* rgb */ color: rgb(128, 86, 245);
/* oklch */ color: oklch(58.6% 0.225 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae88f9',
    500: '#8056f5',
    950: '#000000',
  },
}
SCSS
$custom: #8056f5;
$custom-light: #ae88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8056f5",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 255.849,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58621,
    "c": 0.22509,
    "h": 289.8
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#8056F5
secondary
#E0EFB8
accent
#E500A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8056F5

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

Preview Lab → · Contrast checker → · Palette generator →

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