#802F82#802F82

#802F82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.153 H 326.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#802F82
RGBrgb(128, 47, 130)
HSLhsl(299, 47%, 35%)
HSVhsv(299, 64%, 51%)
CMYKcmyk(1.5%, 63.8%, 0%, 49%)
CIE-LABlab(34.47, 46.20, -30.29)
CIE-LCHlch(34.47, 55.24, 326.75°)
OKLaboklab(45.47% 0.1278 -0.0837)
OKLCHoklch(45.47% 0.153 326.8)
XYZxyz(13.9476, 8.2348, 21.9696)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F82 #31822F
analogous
#562F82 #802F82 #822F5B
triadic
#802F82 #82802F #2F8280
tetradic
#802F82 #82562F #31822F #2F5B82
square
#802F82 #82562F #31822F #2F5B82
split-complementary
#802F82 #5B822F #2F8256
monochromatic
#270E28 #541F55 #802F82 #AC3FAF #C564C7

Accessibility & contrast

On white

7.93
#802F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#802F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F82
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F82#FFFFFF#000000##FFFFFF
##802F821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#843A54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802f82;
/* rgb */ color: rgb(128, 47, 130);
/* oklch */ color: oklch(45.5% 0.153 326.8);
Tailwind
colors: {
  custom: {
    50: '#a76ea6',
    500: '#802f82',
    950: '#000000',
  },
}
SCSS
$custom: #802f82;
$custom-light: #a76ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#802f82",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 298.554,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.15278,
    "h": 326.8
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#802F82
secondary
#61AE5F
accent
#D75154
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802F82

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

Preview Lab → · Contrast checker → · Palette generator →

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