#802C96#802C96

#802C96 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.175 H 318.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#802C96
RGBrgb(128, 44, 150)
HSLhsl(288, 55%, 38%)
HSVhsv(288, 71%, 59%)
CMYKcmyk(14.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(35.19, 51.39, -41.45)
CIE-LCHlch(35.19, 66.02, 321.11°)
OKLaboklab(46.38% 0.1314 -0.1162)
OKLCHoklch(46.38% 0.175 318.5)
XYZxyz(15.3070, 8.5933, 29.7006)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C96 #42962C
analogous
#4B2C96 #802C96 #962C77
triadic
#802C96 #96802C #2C9680
tetradic
#802C96 #964B2C #42962C #2C7796
square
#802C96 #964B2C #42962C #2C7796
split-complementary
#802C96 #77962C #2C964B
monochromatic
#2F1037 #581E67 #802C96 #A83AC5 #BD69D3

Accessibility & contrast

On white

7.72
#802C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#802C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C96
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C96#FFFFFF#000000##FFFFFF
##802C961.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#325594
Tritanopia (blue-blind)
#80405E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802c96;
/* rgb */ color: rgb(128, 44, 150);
/* oklch */ color: oklch(46.4% 0.175 318.5);
Tailwind
colors: {
  custom: {
    50: '#a86db5',
    500: '#802c96',
    950: '#000000',
  },
}
SCSS
$custom: #802c96;
$custom-light: #a86db5;
$custom-dark: #000000;
JSON
{
  "hex": "#802c96",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 287.547,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.1754,
    "h": 318.5
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#802C96
secondary
#76BA64
accent
#DE4A69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C96

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

Preview Lab → · Contrast checker → · Palette generator →

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