#8050D4#8050D4

#8050D4 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.194 H 296.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8050D4
RGBrgb(128, 80, 212)
HSLhsl(262, 61%, 57%)
HSVhsv(262, 62%, 83%)
CMYKcmyk(39.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(45.74, 48.36, -61.03)
CIE-LCHlch(45.74, 77.86, 308.39°)
OKLaboklab(55.3% 0.0856 -0.1739)
OKLCHoklch(55.3% 0.194 296.2)
XYZxyz(23.6513, 15.0795, 63.9391)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050D4 #A4D450
analogous
#5062D4 #8050D4 #C250D4
triadic
#8050D4 #D48050 #50D480
tetradic
#8050D4 #D45062 #A4D450 #50D4C2
square
#8050D4 #D45062 #A4D450 #50D4C2
split-complementary
#8050D4 #D4C250 #62D450
monochromatic
#472188 #602EB9 #8050D4 #A481E0 #C7B2EC

Accessibility & contrast

On white

5.23
#8050D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8050D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050D4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050D4#FFFFFF#000000##FFFFFF
##8050D41.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#006BD1
Tritanopia (blue-blind)
#6B6E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8050d4;
/* rgb */ color: rgb(128, 80, 212);
/* oklch */ color: oklch(55.3% 0.194 296.2);
Tailwind
colors: {
  custom: {
    50: '#aa83e2',
    500: '#8050d4',
    950: '#000000',
  },
}
SCSS
$custom: #8050d4;
$custom-light: #aa83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8050d4",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 261.818,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.1938,
    "h": 296.2
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#8050D4
secondary
#C7DBA5
accent
#E444AA
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8050D4

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

Preview Lab → · Contrast checker → · Palette generator →

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