#802F83#802F83

#802F83 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.154 H 326.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#802F83
RGBrgb(128, 47, 131)
HSLhsl(298, 47%, 35%)
HSVhsv(298, 64%, 51%)
CMYKcmyk(2.3%, 64.1%, 0%, 48.6%)
CIE-LABlab(34.52, 46.38, -30.83)
CIE-LCHlch(34.52, 55.69, 326.39°)
OKLaboklab(45.53% 0.1279 -0.0853)
OKLCHoklch(45.53% 0.154 326.3)
XYZxyz(14.0151, 8.2618, 22.3248)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F83 #32832F
analogous
#562F83 #802F83 #832F5C
triadic
#802F83 #83802F #2F8380
tetradic
#802F83 #83562F #32832F #2F5C83
square
#802F83 #83562F #32832F #2F5C83
split-complementary
#802F83 #5C832F #2F8356
monochromatic
#280F29 #541F56 #802F83 #AC3FB0 #C465C8

Accessibility & contrast

On white

7.92
#802F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802F83
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F83#FFFFFF#000000##FFFFFF
##802F831.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#833B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802f83;
/* rgb */ color: rgb(128, 47, 131);
/* oklch */ color: oklch(45.5% 0.154 326.3);
Tailwind
colors: {
  custom: {
    50: '#a76ea7',
    500: '#802f83',
    950: '#000000',
  },
}
SCSS
$custom: #802f83;
$custom-light: #a76ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#802f83",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 297.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.15369,
    "h": 326.3
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#802F83
secondary
#62AF5F
accent
#D75156
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802F83

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

Preview Lab → · Contrast checker → · Palette generator →

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