#8051DE#8051DE

#8051DE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.204 H 294.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8051DE
RGBrgb(128, 81, 222)
HSLhsl(260, 68%, 59%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(46.64, 50.46, -65.28)
CIE-LCHlch(46.64, 82.51, 307.71°)
OKLaboklab(56.18% 0.0837 -0.1864)
OKLCHoklch(56.18% 0.204 294.2)
XYZxyz(25.0258, 15.7473, 70.8141)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051DE #AFDE51
analogous
#5169DE #8051DE #C751DE
triadic
#8051DE #DE8051 #51DE80
tetradic
#8051DE #DE5169 #AFDE51 #51DEC7
square
#8051DE #DE5169 #AFDE51 #51DEC7
split-complementary
#8051DE #DEC751 #69DE51
monochromatic
#461D98 #5D27CB #8051DE #A684E8 #CBB8F2

Accessibility & contrast

On white

5.06
#8051DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8051DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051DE#FFFFFF#000000##FFFFFF
##8051DE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#667290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8051de;
/* rgb */ color: rgb(128, 81, 222);
/* oklch */ color: oklch(56.2% 0.204 294.2);
Tailwind
colors: {
  custom: {
    50: '#ab84e9',
    500: '#8051de',
    950: '#000000',
  },
}
SCSS
$custom: #8051de;
$custom-light: #ab84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8051de",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 260,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.20431,
    "h": 294.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#8051DE
secondary
#CFE1AA
accent
#EB3DB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8051DE

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

Preview Lab → · Contrast checker → · Palette generator →

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