#8050D5#8050D5

#8050D5 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.195 H 296.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8050D5
RGBrgb(128, 80, 213)
HSLhsl(262, 61%, 57%)
HSVhsv(262, 62%, 84%)
CMYKcmyk(39.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(45.81, 48.62, -61.49)
CIE-LCHlch(45.81, 78.39, 308.33°)
OKLaboklab(55.38% 0.0855 -0.1752)
OKLCHoklch(55.38% 0.195 296)
XYZxyz(23.7779, 15.1301, 64.6055)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050D5 #A5D550
analogous
#5063D5 #8050D5 #C250D5
triadic
#8050D5 #D58050 #50D580
tetradic
#8050D5 #D55063 #A5D550 #50D5C2
square
#8050D5 #D55063 #A5D550 #50D5C2
split-complementary
#8050D5 #D5C250 #63D550
monochromatic
#47218A #602DBB #8050D5 #A481E1 #C8B3ED

Accessibility & contrast

On white

5.22
#8050D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8050D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050D5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050D5#FFFFFF#000000##FFFFFF
##8050D51.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8050d5;
/* rgb */ color: rgb(128, 80, 213);
/* oklch */ color: oklch(55.4% 0.195 296.0);
Tailwind
colors: {
  custom: {
    50: '#aa83e3',
    500: '#8050d5',
    950: '#000000',
  },
}
SCSS
$custom: #8050d5;
$custom-light: #aa83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8050d5",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 261.654,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.19499,
    "h": 296
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#8050D5
secondary
#C8DBA6
accent
#E443AA
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8050D5

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

Preview Lab → · Contrast checker → · Palette generator →

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