#8051ED#8051ED

#8051ED is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.222 H 291.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8051ED
RGBrgb(128, 81, 237)
HSLhsl(258, 81%, 62%)
HSVhsv(258, 66%, 93%)
CMYKcmyk(46%, 65.8%, 0%, 7.1%)
CIE-LABlab(47.74, 54.47, -71.98)
CIE-LCHlch(47.74, 90.27, 307.12°)
OKLaboklab(57.31% 0.082 -0.2061)
OKLCHoklch(57.31% 0.222 291.7)
XYZxyz(27.1263, 16.5875, 81.8768)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051ED #BEED51
analogous
#5170ED #8051ED #CE51ED
triadic
#8051ED #ED8051 #51ED80
tetradic
#8051ED #ED5170 #BEED51 #51EDCE
square
#8051ED #ED5170 #BEED51 #51EDCE
split-complementary
#8051ED #EDCE51 #70ED51
monochromatic
#4212B1 #581AE7 #8051ED #A888F3 #D1C0F8

Accessibility & contrast

On white

4.86
#8051ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8051ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051ED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051ED#FFFFFF#000000##FFFFFF
##8051ED1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#5F7798
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8051ed;
/* rgb */ color: rgb(128, 81, 237);
/* oklch */ color: oklch(57.3% 0.222 291.7);
Tailwind
colors: {
  custom: {
    50: '#ad85f4',
    500: '#8051ed',
    950: '#000000',
  },
}
SCSS
$custom: #8051ed;
$custom-light: #ad85f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8051ed",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 237
  },
  "hsl": {
    "h": 258.077,
    "s": 81.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.2218,
    "h": 291.7
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#8051ED
secondary
#D8E9B0
accent
#DE089D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8051ED

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

Preview Lab → · Contrast checker → · Palette generator →

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