#8056DE#8056DE

#8056DE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.198 H 293.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8056DE
RGBrgb(128, 86, 222)
HSLhsl(259, 67%, 60%)
HSVhsv(259, 61%, 87%)
CMYKcmyk(42.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(47.65, 47.77, -63.65)
CIE-LCHlch(47.65, 79.58, 306.89°)
OKLaboklab(56.91% 0.0783 -0.1816)
OKLCHoklch(56.91% 0.198 293.3)
XYZxyz(25.4111, 16.5180, 70.9425)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056DE #B4DE56
analogous
#5670DE #8056DE #C456DE
triadic
#8056DE #DE8056 #56DE80
tetradic
#8056DE #DE5670 #B4DE56 #56DEC4
square
#8056DE #DE5670 #B4DE56 #56DEC4
split-complementary
#8056DE #DEC456 #70DE56
monochromatic
#451E9B #5C28CE #8056DE #A689E8 #CDBCF2

Accessibility & contrast

On white

4.88
#8056DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8056DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056DE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056DE#FFFFFF#000000##FFFFFF
##8056DE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#667592
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8056de;
/* rgb */ color: rgb(128, 86, 222);
/* oklch */ color: oklch(56.9% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab87e9',
    500: '#8056de',
    950: '#000000',
  },
}
SCSS
$custom: #8056de;
$custom-light: #ab87e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8056de",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 258.529,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.19775,
    "h": 293.3
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8056DE

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

Preview Lab → · Contrast checker → · Palette generator →

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