#802E83#802E83

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

Color values

HEX#802E83
RGBrgb(128, 46, 131)
HSLhsl(298, 48%, 35%)
HSVhsv(298, 65%, 51%)
CMYKcmyk(2.3%, 64.9%, 0%, 48.6%)
CIE-LABlab(34.36, 46.83, -31.08)
CIE-LCHlch(34.36, 56.21, 326.43°)
OKLaboklab(45.41% 0.1291 -0.086)
OKLCHoklch(45.41% 0.155 326.3)
XYZxyz(13.9755, 8.1828, 22.3116)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E83 #31832E
analogous
#552E83 #802E83 #832E5C
triadic
#802E83 #83802E #2E8380
tetradic
#802E83 #83552E #31832E #2E5C83
square
#802E83 #83552E #31832E #2E5C83
split-complementary
#802E83 #5C832E #2E8355
monochromatic
#270E28 #541E56 #802E83 #AC3EB0 #C563C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802E83#FFFFFF#000000##FFFFFF
##802E831.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)
#214A86
Deuteranopia (green-blind)
#405481
Tritanopia (blue-blind)
#833A54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802e83;
/* rgb */ color: rgb(128, 46, 131);
/* oklch */ color: oklch(45.4% 0.155 326.3);
Tailwind
colors: {
  custom: {
    50: '#a86da7',
    500: '#802e83',
    950: '#000000',
  },
}
SCSS
$custom: #802e83;
$custom-light: #a86da7;
$custom-dark: #000000;
JSON
{
  "hex": "#802e83",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 297.882,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.15514,
    "h": 326.3
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#802E83
secondary
#61AF5E
accent
#D85055
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802E83

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

Preview Lab → · Contrast checker → · Palette generator →

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