#802E7D#802E7D

#802E7D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.150 H 329.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#802E7D
RGBrgb(128, 46, 125)
HSLhsl(302, 47%, 34%)
HSVhsv(302, 64%, 50%)
CMYKcmyk(0%, 64.1%, 2.3%, 49.8%)
CIE-LABlab(34.03, 45.73, -27.86)
CIE-LCHlch(34.03, 53.55, 328.65°)
OKLaboklab(45.07% 0.1287 -0.0767)
OKLCHoklch(45.07% 0.15 329.2)
XYZxyz(13.5806, 8.0248, 20.2317)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E7D #2E8031
analogous
#5A2E80 #802E7D #802E54
triadic
#802E7D #7D802E #2E7D80
tetradic
#802E7D #805A2E #2E8031 #2E5480
square
#802E7D #805A2E #2E8031 #2E5480
split-complementary
#802E7D #54802E #2E805A
monochromatic
#260E25 #531E51 #802E7D #AD3EA9 #C762C3

Accessibility & contrast

On white

8.06
#802E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#802E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E7D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E7D#FFFFFF#000000##FFFFFF
##802E7D1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#843751
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802e7d;
/* rgb */ color: rgb(128, 46, 125);
/* oklch */ color: oklch(45.1% 0.150 329.2);
Tailwind
colors: {
  custom: {
    50: '#a76da3',
    500: '#802e7d',
    950: '#000000',
  },
}
SCSS
$custom: #802e7d;
$custom-light: #a76da3;
$custom-dark: #000000;
JSON
{
  "hex": "#802e7d",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 302.195,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.14979,
    "h": 329.2
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#802E7D
secondary
#5DAD60
accent
#D75651
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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