#802F80#802F80

#802F80 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.151 H 327.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#802F80
RGBrgb(128, 47, 128)
HSLhsl(300, 46%, 34%)
HSVhsv(300, 63%, 50%)
CMYKcmyk(0%, 63.3%, 0%, 49.8%)
CIE-LABlab(34.36, 45.83, -29.22)
CIE-LCHlch(34.36, 54.35, 327.48°)
OKLaboklab(45.36% 0.1276 -0.0806)
OKLCHoklch(45.36% 0.151 327.7)
XYZxyz(13.8147, 8.1816, 21.2695)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F80 #2F802F
analogous
#582F80 #802F80 #802F58
triadic
#802F80 #80802F #2F8080
tetradic
#802F80 #80582F #2F802F #2F5880
square
#802F80 #80582F #2F802F #2F5880
split-complementary
#802F80 #58802F #2F8058
monochromatic
#260E26 #531F53 #802F80 #AD3FAD #C663C6

Accessibility & contrast

On white

7.97
#802F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#802F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F80
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F80#FFFFFF#000000##FFFFFF
##802F801.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#843953
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802f80;
/* rgb */ color: rgb(128, 47, 128);
/* oklch */ color: oklch(45.4% 0.151 327.7);
Tailwind
colors: {
  custom: {
    50: '#a76da5',
    500: '#802f80',
    950: '#000000',
  },
}
SCSS
$custom: #802f80;
$custom-light: #a76da5;
$custom-dark: #000000;
JSON
{
  "hex": "#802f80",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 300,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.15098,
    "h": 327.7
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#802F80
secondary
#5EAD5E
accent
#D65252
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802F80

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

Preview Lab → · Contrast checker → · Palette generator →

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