#8050C2#8050C2

#8050C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.172 H 300.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8050C2
RGBrgb(128, 80, 194)
HSLhsl(265, 48%, 54%)
HSVhsv(265, 59%, 76%)
CMYKcmyk(34%, 58.8%, 0%, 23.9%)
CIE-LABlab(44.55, 43.69, -52.58)
CIE-LCHlch(44.55, 68.36, 309.73°)
OKLaboklab(54.05% 0.0864 -0.149)
OKLCHoklch(54.05% 0.172 300.1)
XYZxyz(21.5060, 14.2214, 52.6405)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050C2 #92C250
analogous
#5059C2 #8050C2 #B950C2
triadic
#8050C2 #C28050 #50C280
tetradic
#8050C2 #C25059 #92C250 #50C2B9
square
#8050C2 #C25059 #92C250 #50C2B9
split-complementary
#8050C2 #C2B950 #59C250
monochromatic
#462770 #62379E #8050C2 #A17DD2 #C2ABE2

Accessibility & contrast

On white

5.46
#8050C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8050C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050C2#FFFFFF#000000##FFFFFF
##8050C21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#2C69BF
Tritanopia (blue-blind)
#726881
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8050c2;
/* rgb */ color: rgb(128, 80, 194);
/* oklch */ color: oklch(54.1% 0.172 300.1);
Tailwind
colors: {
  custom: {
    50: '#a983d5',
    500: '#8050c2',
    950: '#000000',
  },
}
SCSS
$custom: #8050c2;
$custom-light: #a983d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8050c2",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 265.263,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.17225,
    "h": 300.1
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#8050C2
secondary
#BBCF9F
accent
#D8509F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8050C2

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

Preview Lab → · Contrast checker → · Palette generator →

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