#802C7F#802C7F

#802C7F is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.154 H 328.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#802C7F
RGBrgb(128, 44, 127)
HSLhsl(301, 49%, 34%)
HSVhsv(301, 66%, 50%)
CMYKcmyk(0%, 65.6%, 0.8%, 49.8%)
CIE-LABlab(33.82, 46.98, -29.44)
CIE-LCHlch(33.82, 55.44, 327.92°)
OKLaboklab(44.95% 0.1313 -0.0813)
OKLCHoklch(44.95% 0.154 328.3)
XYZxyz(13.6334, 7.9238, 20.8859)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C7F #2C802D
analogous
#572C80 #802C7F #802C55
triadic
#802C7F #7F802C #2C7F80
tetradic
#802C7F #80572C #2C802D #2C5580
square
#802C7F #80572C #2C802D #2C5580
split-complementary
#802C7F #55802C #2C8057
monochromatic
#250D25 #521C52 #802C7F #AE3CAC #C85FC7

Accessibility & contrast

On white

8.13
#802C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C7F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C7F#FFFFFF#000000##FFFFFF
##802C7F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#41537D
Tritanopia (blue-blind)
#843751
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802c7f;
/* rgb */ color: rgb(128, 44, 127);
/* oklch */ color: oklch(45.0% 0.154 328.3);
Tailwind
colors: {
  custom: {
    50: '#a86ca4',
    500: '#802c7f',
    950: '#000000',
  },
}
SCSS
$custom: #802c7f;
$custom-light: #a86ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#802c7f",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 300.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.15444,
    "h": 328.3
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#802C7F
secondary
#5AAE5B
accent
#D8514F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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