#8050B2#8050B2

#8050B2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.153 H 304.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8050B2
RGBrgb(128, 80, 178)
HSLhsl(269, 39%, 51%)
HSVhsv(269, 55%, 70%)
CMYKcmyk(28.1%, 55.1%, 0%, 30.2%)
CIE-LABlab(43.57, 39.67, -44.80)
CIE-LCHlch(43.57, 59.84, 311.52°)
OKLaboklab(53.02% 0.0861 -0.1262)
OKLCHoklch(53.02% 0.153 304.3)
XYZxyz(19.8049, 13.5409, 43.6812)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050B2 #82B250
analogous
#5051B2 #8050B2 #B150B2
triadic
#8050B2 #B28050 #50B280
tetradic
#8050B2 #B25051 #82B250 #50B2B1
square
#8050B2 #B25051 #82B250 #50B2B1
split-complementary
#8050B2 #B2B150 #51B250
monochromatic
#43295E #623C89 #8050B2 #9F7AC5 #BEA5D7

Accessibility & contrast

On white

5.66
#8050B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8050B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050B2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050B2#FFFFFF#000000##FFFFFF
##8050B21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#776379
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8050b2;
/* rgb */ color: rgb(128, 80, 178);
/* oklch */ color: oklch(53.0% 0.153 304.3);
Tailwind
colors: {
  custom: {
    50: '#a883c9',
    500: '#8050b2',
    950: '#000000',
  },
}
SCSS
$custom: #8050b2;
$custom-light: #a883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8050b2",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 269.388,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.15281,
    "h": 304.3
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#8050B2
secondary
#AFC599
accent
#CF5995
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8050B2

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

Preview Lab → · Contrast checker → · Palette generator →

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