#8050D2#8050D2

#8050D2 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.191 H 296.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8050D2
RGBrgb(128, 80, 210)
HSLhsl(262, 59%, 57%)
HSVhsv(262, 62%, 82%)
CMYKcmyk(39%, 61.9%, 0%, 17.6%)
CIE-LABlab(45.61, 47.83, -60.10)
CIE-LCHlch(45.61, 76.82, 308.52°)
OKLaboklab(55.16% 0.0858 -0.1712)
OKLCHoklch(55.16% 0.191 296.6)
XYZxyz(23.4006, 14.9792, 62.6187)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050D2 #A2D250
analogous
#5061D2 #8050D2 #C150D2
triadic
#8050D2 #D28050 #50D280
tetradic
#8050D2 #D25061 #A2D250 #50D2C1
square
#8050D2 #D25061 #A2D250 #50D2C1
split-complementary
#8050D2 #D2C150 #61D250
monochromatic
#472285 #612FB6 #8050D2 #A381DF #C7B1EB

Accessibility & contrast

On white

5.26
#8050D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8050D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050D2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050D2#FFFFFF#000000##FFFFFF
##8050D21.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#056ACF
Tritanopia (blue-blind)
#6C6D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8050d2;
/* rgb */ color: rgb(128, 80, 210);
/* oklch */ color: oklch(55.2% 0.191 296.6);
Tailwind
colors: {
  custom: {
    50: '#aa83e1',
    500: '#8050d2',
    950: '#000000',
  },
}
SCSS
$custom: #8050d2;
$custom-light: #aa83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8050d2",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 262.154,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55161,
    "c": 0.19144,
    "h": 296.6
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#8050D2
secondary
#C6D9A4
accent
#E246A8
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8050D2

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

Preview Lab → · Contrast checker → · Palette generator →

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