#8051DC#8051DC

#8051DC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.202 H 294.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8051DC
RGBrgb(128, 81, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(41.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(46.50, 49.93, -64.37)
CIE-LCHlch(46.50, 81.47, 307.80°)
OKLaboklab(56.03% 0.0839 -0.1837)
OKLCHoklch(56.03% 0.202 294.5)
XYZxyz(24.7593, 15.6408, 69.4107)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051DC #ADDC51
analogous
#5168DC #8051DC #C651DC
triadic
#8051DC #DC8051 #51DC80
tetradic
#8051DC #DC5168 #ADDC51 #51DCC6
square
#8051DC #DC5168 #ADDC51 #51DCC6
split-complementary
#8051DC #DCC651 #68DC51
monochromatic
#461E95 #5E28C8 #8051DC #A584E6 #CAB7F0

Accessibility & contrast

On white

5.09
#8051DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8051DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051DC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051DC#FFFFFF#000000##FFFFFF
##8051DC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#67718F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8051dc;
/* rgb */ color: rgb(128, 81, 220);
/* oklch */ color: oklch(56.0% 0.202 294.5);
Tailwind
colors: {
  custom: {
    50: '#ab84e8',
    500: '#8051dc',
    950: '#000000',
  },
}
SCSS
$custom: #8051dc;
$custom-light: #ab84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8051dc",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 260.288,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56029,
    "c": 0.20194,
    "h": 294.5
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#8051DC
secondary
#CDE0A9
accent
#E93EB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8051DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8051DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva