#802C91#802C91

#802C91 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 320.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#802C91
RGBrgb(128, 44, 145)
HSLhsl(290, 53%, 37%)
HSVhsv(290, 70%, 57%)
CMYKcmyk(11.7%, 69.7%, 0%, 43.1%)
CIE-LABlab(34.87, 50.39, -38.90)
CIE-LCHlch(34.87, 63.66, 322.33°)
OKLaboklab(46.05% 0.1316 -0.1088)
OKLCHoklch(46.05% 0.171 320.4)
XYZxyz(14.9130, 8.4356, 27.6253)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C91 #3D912C
analogous
#4E2C91 #802C91 #912C70
triadic
#802C91 #91802C #2C9180
tetradic
#802C91 #914E2C #3D912C #2C7091
square
#802C91 #914E2C #3D912C #2C7091
split-complementary
#802C91 #70912C #2C914E
monochromatic
#2D1033 #571E62 #802C91 #A93AC0 #BF67D1

Accessibility & contrast

On white

7.82
#802C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#802C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C91
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C91#FFFFFF#000000##FFFFFF
##802C911.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054C94
Deuteranopia (green-blind)
#36558F
Tritanopia (blue-blind)
#813E5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802c91;
/* rgb */ color: rgb(128, 44, 145);
/* oklch */ color: oklch(46.0% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#a86db2',
    500: '#802c91',
    950: '#000000',
  },
}
SCSS
$custom: #802c91;
$custom-light: #a86db2;
$custom-dark: #000000;
JSON
{
  "hex": "#802c91",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 289.901,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.17073,
    "h": 320.4
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#802C91
secondary
#70B762
accent
#DD4B64
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C91

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

Preview Lab → · Contrast checker → · Palette generator →

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