#802D93#802D93

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

Color values

HEX#802D93
RGBrgb(128, 45, 147)
HSLhsl(289, 53%, 38%)
HSVhsv(289, 69%, 58%)
CMYKcmyk(12.9%, 69.4%, 0%, 42.4%)
CIE-LABlab(35.15, 50.37, -39.68)
CIE-LCHlch(35.15, 64.12, 321.77°)
OKLaboklab(46.29% 0.1304 -0.1111)
OKLCHoklch(46.29% 0.171 319.6)
XYZxyz(15.1063, 8.5733, 28.4572)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D93 #40932D
analogous
#4D2D93 #802D93 #932D73
triadic
#802D93 #93802D #2D9380
tetradic
#802D93 #934D2D #40932D #2D7393
square
#802D93 #934D2D #40932D #2D7393
split-complementary
#802D93 #73932D #2D934D
monochromatic
#2E1035 #571F64 #802D93 #A93BC2 #BE69D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802D93#FFFFFF#000000##FFFFFF
##802D931.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)
#024D96
Deuteranopia (green-blind)
#355591
Tritanopia (blue-blind)
#80405C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802d93;
/* rgb */ color: rgb(128, 45, 147);
/* oklch */ color: oklch(46.3% 0.171 319.6);
Tailwind
colors: {
  custom: {
    50: '#a86db3',
    500: '#802d93',
    950: '#000000',
  },
}
SCSS
$custom: #802d93;
$custom-light: #a86db3;
$custom-dark: #000000;
JSON
{
  "hex": "#802d93",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 288.824,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46287,
    "c": 0.17129,
    "h": 319.6
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#802D93
secondary
#74B864
accent
#DD4B66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802D93

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

Preview Lab → · Contrast checker → · Palette generator →

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