#802C95#802C95

#802C95 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.174 H 318.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#802C95
RGBrgb(128, 44, 149)
HSLhsl(288, 54%, 38%)
HSVhsv(288, 70%, 58%)
CMYKcmyk(14.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(35.13, 51.19, -40.94)
CIE-LCHlch(35.13, 65.55, 321.35°)
OKLaboklab(46.31% 0.1314 -0.1147)
OKLCHoklch(46.31% 0.174 318.9)
XYZxyz(15.2269, 8.5612, 29.2783)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C95 #41952C
analogous
#4B2C95 #802C95 #952C75
triadic
#802C95 #95802C #2C9580
tetradic
#802C95 #954B2C #41952C #2C7595
square
#802C95 #954B2C #41952C #2C7595
split-complementary
#802C95 #75952C #2C954B
monochromatic
#2F1037 #571E66 #802C95 #A93AC4 #BD69D3

Accessibility & contrast

On white

7.74
#802C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#802C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C95
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C95#FFFFFF#000000##FFFFFF
##802C951.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#80405D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802c95;
/* rgb */ color: rgb(128, 44, 149);
/* oklch */ color: oklch(46.3% 0.174 318.9);
Tailwind
colors: {
  custom: {
    50: '#a86db5',
    500: '#802c95',
    950: '#000000',
  },
}
SCSS
$custom: #802c95;
$custom-light: #a86db5;
$custom-dark: #000000;
JSON
{
  "hex": "#802c95",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 288,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.17447,
    "h": 318.9
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#802C95
secondary
#75B964
accent
#DE4A68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C95

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

Preview Lab → · Contrast checker → · Palette generator →

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