#802D92#802D92

#802D92 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.170 H 320.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#802D92
RGBrgb(128, 45, 146)
HSLhsl(289, 53%, 37%)
HSVhsv(289, 69%, 57%)
CMYKcmyk(12.3%, 69.2%, 0%, 42.7%)
CIE-LABlab(35.09, 50.17, -39.17)
CIE-LCHlch(35.09, 63.65, 322.02°)
OKLaboklab(46.22% 0.1304 -0.1096)
OKLCHoklch(46.22% 0.17 320)
XYZxyz(15.0281, 8.5420, 28.0457)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D92 #3F922D
analogous
#4E2D92 #802D92 #922D72
triadic
#802D92 #92802D #2D9280
tetradic
#802D92 #924E2D #3F922D #2D7292
square
#802D92 #924E2D #3F922D #2D7292
split-complementary
#802D92 #72922D #2D924E
monochromatic
#2E1034 #571F63 #802D92 #A93BC1 #BE69D1

Accessibility & contrast

On white

7.75
#802D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802D92
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D92#FFFFFF#000000##FFFFFF
##802D921.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D95
Deuteranopia (green-blind)
#365590
Tritanopia (blue-blind)
#803F5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802d92;
/* rgb */ color: rgb(128, 45, 146);
/* oklch */ color: oklch(46.2% 0.170 320.0);
Tailwind
colors: {
  custom: {
    50: '#a86db2',
    500: '#802d92',
    950: '#000000',
  },
}
SCSS
$custom: #802d92;
$custom-light: #a86db2;
$custom-dark: #000000;
JSON
{
  "hex": "#802d92",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 289.307,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.17035,
    "h": 320
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#802D92
secondary
#72B763
accent
#DC4C65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802D92

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

Preview Lab → · Contrast checker → · Palette generator →

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