#8056DB#8056DB

#8056DB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.194 H 293.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8056DB
RGBrgb(128, 86, 219)
HSLhsl(259, 65%, 60%)
HSVhsv(259, 61%, 86%)
CMYKcmyk(41.6%, 60.7%, 0%, 14.1%)
CIE-LABlab(47.44, 46.96, -62.28)
CIE-LCHlch(47.44, 78.00, 307.02°)
OKLaboklab(56.69% 0.0785 -0.1776)
OKLCHoklch(56.69% 0.194 293.8)
XYZxyz(25.0126, 16.3586, 68.8438)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8056DB #B1DB56
analogous
#566FDB #8056DB #C256DB
triadic
#8056DB #DB8056 #56DB80
tetradic
#8056DB #DB566F #B1DB56 #56DBC2
square
#8056DB #DB566F #B1DB56 #56DBC2
split-complementary
#8056DB #DBC256 #6FDB56
monochromatic
#452097 #5D2BC9 #8056DB #A688E6 #CCBBF0

Accessibility & contrast

On white

4.92
#8056DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8056DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8056DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8056DB#FFFFFF#000000##FFFFFF
##8056DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#687490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8056db;
/* rgb */ color: rgb(128, 86, 219);
/* oklch */ color: oklch(56.7% 0.194 293.8);
Tailwind
colors: {
  custom: {
    50: '#ab87e7',
    500: '#8056db',
    950: '#000000',
  },
}
SCSS
$custom: #8056db;
$custom-light: #ab87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8056db",
  "rgb": {
    "r": 128,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 258.947,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.19412,
    "h": 293.8
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#8056DB
secondary
#D0E0AD
accent
#E840B3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8056DB

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

Preview Lab → · Contrast checker → · Palette generator →

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