#802D95#802D95

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

Color values

HEX#802D95
RGBrgb(128, 45, 149)
HSLhsl(288, 54%, 38%)
HSVhsv(288, 70%, 58%)
CMYKcmyk(14.1%, 69.8%, 0%, 41.6%)
CIE-LABlab(35.27, 50.77, -40.70)
CIE-LCHlch(35.27, 65.07, 321.28°)
OKLaboklab(46.42% 0.1303 -0.114)
OKLCHoklch(46.42% 0.173 318.8)
XYZxyz(15.2646, 8.6366, 29.2909)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D95 #42952D
analogous
#4C2D95 #802D95 #952D76
triadic
#802D95 #95802D #2D9580
tetradic
#802D95 #954C2D #42952D #2D7695
square
#802D95 #954C2D #42952D #2D7695
split-complementary
#802D95 #76952D #2D954C
monochromatic
#2F1137 #581F66 #802D95 #A83BC4 #BD6AD2

Accessibility & contrast

On white

7.70
#802D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#802D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D95
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D95#FFFFFF#000000##FFFFFF
##802D951.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802d95;
/* rgb */ color: rgb(128, 45, 149);
/* oklch */ color: oklch(46.4% 0.173 318.8);
Tailwind
colors: {
  custom: {
    50: '#a86db5',
    500: '#802d95',
    950: '#000000',
  },
}
SCSS
$custom: #802d95;
$custom-light: #a86db5;
$custom-dark: #000000;
JSON
{
  "hex": "#802d95",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 287.885,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46417,
    "c": 0.17317,
    "h": 318.8
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#802D95
secondary
#76B965
accent
#DD4B68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802D95

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

Preview Lab → · Contrast checker → · Palette generator →

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