#8051DF#8051DF

#8051DF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.205 H 294.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8051DF
RGBrgb(128, 81, 223)
HSLhsl(260, 69%, 60%)
HSVhsv(260, 64%, 87%)
CMYKcmyk(42.6%, 63.7%, 0%, 12.5%)
CIE-LABlab(46.71, 50.73, -65.73)
CIE-LCHlch(46.71, 83.03, 307.66°)
OKLaboklab(56.25% 0.0836 -0.1877)
OKLCHoklch(56.25% 0.205 294)
XYZxyz(25.1602, 15.8011, 71.5220)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051DF #B0DF51
analogous
#5169DF #8051DF #C751DF
triadic
#8051DF #DF8051 #51DF80
tetradic
#8051DF #DF5169 #B0DF51 #51DFC7
square
#8051DF #DF5169 #B0DF51 #51DFC7
split-complementary
#8051DF #DFC751 #69DF51
monochromatic
#461C99 #5D26CD #8051DF #A685E9 #CBB8F2

Accessibility & contrast

On white

5.05
#8051DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8051DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051DF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051DF#FFFFFF#000000##FFFFFF
##8051DF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#667291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8051df;
/* rgb */ color: rgb(128, 81, 223);
/* oklch */ color: oklch(56.3% 0.205 294.0);
Tailwind
colors: {
  custom: {
    50: '#ab84ea',
    500: '#8051df',
    950: '#000000',
  },
}
SCSS
$custom: #8051df;
$custom-light: #ab84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8051df",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 259.859,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.20548,
    "h": 294
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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