#8050D8#8050D8

#8050D8 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.199 H 295.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8050D8
RGBrgb(128, 80, 216)
HSLhsl(261, 64%, 58%)
HSVhsv(261, 63%, 85%)
CMYKcmyk(40.7%, 63%, 0%, 15.3%)
CIE-LABlab(46.02, 49.41, -62.87)
CIE-LCHlch(46.02, 79.96, 308.17°)
OKLaboklab(55.59% 0.0853 -0.1793)
OKLCHoklch(55.59% 0.199 295.4)
XYZxyz(24.1622, 15.2839, 66.6295)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050D8 #A8D850
analogous
#5064D8 #8050D8 #C450D8
triadic
#8050D8 #D88050 #50D880
tetradic
#8050D8 #D85064 #A8D850 #50D8C4
square
#8050D8 #D85064 #A8D850 #50D8C4
split-complementary
#8050D8 #D8C450 #64D850
monochromatic
#47208E #5F2BC0 #8050D8 #A482E3 #C9B4EE

Accessibility & contrast

On white

5.18
#8050D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8050D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050D8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050D8#FFFFFF#000000##FFFFFF
##8050D81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#696F8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8050d8;
/* rgb */ color: rgb(128, 80, 216);
/* oklch */ color: oklch(55.6% 0.199 295.4);
Tailwind
colors: {
  custom: {
    50: '#ab84e5',
    500: '#8050d8',
    950: '#000000',
  },
}
SCSS
$custom: #8050d8;
$custom-light: #ab84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8050d8",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 261.176,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.19854,
    "h": 295.4
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#8050D8
secondary
#CADDA7
accent
#E741AC
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8050D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8050D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva