#8056F3#8056F3

#8056F3 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.223 H 290.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8056F3
RGBrgb(128, 86, 243)
HSLhsl(256, 87%, 65%)
HSVhsv(256, 65%, 95%)
CMYKcmyk(47.3%, 64.6%, 0%, 4.7%)
CIE-LABlab(49.15, 53.47, -73.05)
CIE-LCHlch(49.15, 90.53, 306.20°)
OKLaboklab(58.47% 0.0764 -0.2092)
OKLCHoklch(58.47% 0.223 290.1)
XYZxyz(28.4029, 17.7147, 86.6994)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056F3 #C9F356
analogous
#567BF3 #8056F3 #CF56F3
triadic
#8056F3 #F38056 #56F380
tetradic
#8056F3 #F3567B #C9F356 #56F3CF
square
#8056F3 #F3567B #C9F356 #56F3CF
split-complementary
#8056F3 #F3CF56 #7BF356
monochromatic
#3E0EC1 #551DEF #8056F3 #AB8FF7 #D6C8FB

Accessibility & contrast

On white

4.62
#8056F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8056F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8056F3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056F3#FFFFFF#000000##FFFFFF
##8056F31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8056f3;
/* rgb */ color: rgb(128, 86, 243);
/* oklch */ color: oklch(58.5% 0.223 290.1);
Tailwind
colors: {
  custom: {
    50: '#ad88f8',
    500: '#8056f3',
    950: '#000000',
  },
}
SCSS
$custom: #8056f3;
$custom-light: #ad88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8056f3",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 256.051,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.22275,
    "h": 290.1
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#8056F3
secondary
#DFEDB7
accent
#E302A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8056F3

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

Preview Lab → · Contrast checker → · Palette generator →

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