#8056DF#8056DF

#8056DF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.199 H 293.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8056DF
RGBrgb(128, 86, 223)
HSLhsl(258, 68%, 61%)
HSVhsv(258, 61%, 87%)
CMYKcmyk(42.6%, 61.4%, 0%, 12.5%)
CIE-LABlab(47.72, 48.03, -64.11)
CIE-LCHlch(47.72, 80.11, 306.84°)
OKLaboklab(56.98% 0.0782 -0.1829)
OKLCHoklch(56.98% 0.199 293.2)
XYZxyz(25.5455, 16.5718, 71.6505)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056DF #B5DF56
analogous
#5670DF #8056DF #C456DF
triadic
#8056DF #DF8056 #56DF80
tetradic
#8056DF #DF5670 #B5DF56 #56DFC4
square
#8056DF #DF5670 #B5DF56 #56DFC4
split-complementary
#8056DF #DFC456 #70DF56
monochromatic
#451E9D #5B27D0 #8056DF #A789E9 #CDBDF2

Accessibility & contrast

On white

4.87
#8056DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8056DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056DF#FFFFFF#000000##FFFFFF
##8056DF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#667593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8056df;
/* rgb */ color: rgb(128, 86, 223);
/* oklch */ color: oklch(57.0% 0.199 293.2);
Tailwind
colors: {
  custom: {
    50: '#ab88ea',
    500: '#8056df',
    950: '#000000',
  },
}
SCSS
$custom: #8056df;
$custom-light: #ab88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8056df",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 258.394,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.19896,
    "h": 293.2
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#8056DF
secondary
#D2E2AE
accent
#D01597
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8056DF

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

Preview Lab → · Contrast checker → · Palette generator →

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