#8056FD#8056FD

#8056FD is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.234 H 288.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8056FD
RGBrgb(128, 86, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 66%, 99%)
CMYKcmyk(49.4%, 66%, 0%, 0.8%)
CIE-LABlab(49.90, 56.21, -77.40)
CIE-LCHlch(49.90, 95.66, 305.99°)
OKLaboklab(59.24% 0.0752 -0.222)
OKLCHoklch(59.24% 0.234 288.7)
XYZxyz(29.9544, 18.3353, 94.8702)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056FD #D3FD56
analogous
#5680FD #8056FD #D456FD
triadic
#8056FD #FD8056 #56FD80
tetradic
#8056FD #FD5680 #D3FD56 #56FDD4
square
#8056FD #FD5680 #D3FD56 #56FDD4
split-complementary
#8056FD #FDD456 #80FD56
monochromatic
#3803D6 #531AFC #8056FD #AD92FE #DBCFFE

Accessibility & contrast

On white

4.50
#8056FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8056FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8056FD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056FD#FFFFFF#000000##000000
##8056FD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#5480A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8056fd;
/* rgb */ color: rgb(128, 86, 253);
/* oklch */ color: oklch(59.2% 0.234 288.7);
Tailwind
colors: {
  custom: {
    50: '#af88ff',
    500: '#8056fd',
    950: '#000000',
  },
}
SCSS
$custom: #8056fd;
$custom-light: #af88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8056fd",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 255.09,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.23439,
    "h": 288.7
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#8056FD
secondary
#E5F2BC
accent
#E600AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8056FD

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

Preview Lab → · Contrast checker → · Palette generator →

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