#8051DD#8051DD

#8051DD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.203 H 294.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8051DD
RGBrgb(128, 81, 221)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 63%, 87%)
CMYKcmyk(42.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(46.57, 50.20, -64.82)
CIE-LCHlch(46.57, 81.99, 307.75°)
OKLaboklab(56.1% 0.0838 -0.185)
OKLCHoklch(56.1% 0.203 294.4)
XYZxyz(24.8922, 15.6939, 70.1103)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8051DD #AEDD51
analogous
#5168DD #8051DD #C651DD
triadic
#8051DD #DD8051 #51DD80
tetradic
#8051DD #DD5168 #AEDD51 #51DDC6
square
#8051DD #DD5168 #AEDD51 #51DDC6
split-complementary
#8051DD #DDC651 #68DD51
monochromatic
#461D96 #5E27C9 #8051DD #A584E7 #CBB7F1

Accessibility & contrast

On white

5.07
#8051DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8051DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8051DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8051DD#FFFFFF#000000##FFFFFF
##8051DD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#677190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8051dd;
/* rgb */ color: rgb(128, 81, 221);
/* oklch */ color: oklch(56.1% 0.203 294.4);
Tailwind
colors: {
  custom: {
    50: '#ab84e8',
    500: '#8051dd',
    950: '#000000',
  },
}
SCSS
$custom: #8051dd;
$custom-light: #ab84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8051dd",
  "rgb": {
    "r": 128,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 260.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.20313,
    "h": 294.4
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#8051DD
secondary
#CEE0AA
accent
#EA3EB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8051DD

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

Preview Lab → · Contrast checker → · Palette generator →

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