#802B96#802B96

#802B96 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.177 H 318.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#802B96
RGBrgb(128, 43, 150)
HSLhsl(288, 55%, 38%)
HSVhsv(288, 71%, 59%)
CMYKcmyk(14.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(35.04, 51.80, -41.69)
CIE-LCHlch(35.04, 66.49, 321.18°)
OKLaboklab(46.27% 0.1324 -0.1169)
OKLCHoklch(46.27% 0.177 318.6)
XYZxyz(15.2702, 8.5197, 29.6884)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B96 #41962B
analogous
#4B2B96 #802B96 #962B76
triadic
#802B96 #96802B #2B9680
tetradic
#802B96 #964B2B #41962B #2B7696
square
#802B96 #964B2B #41962B #2B7696
split-complementary
#802B96 #76962B #2B964B
monochromatic
#2F1037 #571D66 #802B96 #A939C6 #BD68D4

Accessibility & contrast

On white

7.77
#802B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#802B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B96
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B96#FFFFFF#000000##FFFFFF
##802B961.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#80405D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802b96;
/* rgb */ color: rgb(128, 43, 150);
/* oklch */ color: oklch(46.3% 0.177 318.6);
Tailwind
colors: {
  custom: {
    50: '#a86cb5',
    500: '#802b96',
    950: '#000000',
  },
}
SCSS
$custom: #802b96;
$custom-light: #a86cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#802b96",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 287.664,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.17666,
    "h": 318.6
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#802B96
secondary
#75BA63
accent
#DF4968
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B96

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

Preview Lab → · Contrast checker → · Palette generator →

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