#802C86#802C86

#802C86 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.161 H 325.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#802C86
RGBrgb(128, 44, 134)
HSLhsl(296, 51%, 35%)
HSVhsv(296, 67%, 53%)
CMYKcmyk(4.5%, 67.2%, 0%, 47.5%)
CIE-LABlab(34.22, 48.27, -33.17)
CIE-LCHlch(34.22, 58.57, 325.50°)
OKLaboklab(45.36% 0.1317 -0.0921)
OKLCHoklch(45.36% 0.161 325)
XYZxyz(14.1055, 8.1126, 23.3726)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C86 #32862C
analogous
#532C86 #802C86 #862C5F
triadic
#802C86 #86802C #2C8680
tetradic
#802C86 #86532C #32862C #2C5F86
square
#802C86 #86532C #32862C #2C5F86
split-complementary
#802C86 #5F862C #2C8653
monochromatic
#280E2A #541D58 #802C86 #AC3BB4 #C461CB

Accessibility & contrast

On white

8.01
#802C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#802C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C86
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C86#FFFFFF#000000##FFFFFF
##802C861.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#833A55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802c86;
/* rgb */ color: rgb(128, 44, 134);
/* oklch */ color: oklch(45.4% 0.161 325.0);
Tailwind
colors: {
  custom: {
    50: '#a86ca9',
    500: '#802c86',
    950: '#000000',
  },
}
SCSS
$custom: #802c86;
$custom-light: #a86ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#802c86",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 296,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.16066,
    "h": 325
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#802C86
secondary
#62B15C
accent
#DA4E57
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802C86

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

Preview Lab → · Contrast checker → · Palette generator →

#802C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva