#802E75#802E75

#802E75 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.143 H 333.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#802E75
RGBrgb(128, 46, 117)
HSLhsl(308, 47%, 34%)
HSVhsv(308, 64%, 50%)
CMYKcmyk(0%, 64.1%, 8.6%, 49.8%)
CIE-LABlab(33.62, 44.32, -23.49)
CIE-LCHlch(33.62, 50.16, 332.08°)
OKLaboklab(44.64% 0.1277 -0.0641)
OKLCHoklch(44.64% 0.143 333.3)
XYZxyz(13.0900, 7.8285, 17.6478)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E75 #2E8039
analogous
#622E80 #802E75 #802E4C
triadic
#802E75 #75802E #2E7580
tetradic
#802E75 #80622E #2E8039 #2E4C80
square
#802E75 #80622E #2E8039 #2E4C80
split-complementary
#802E75 #4C802E #2E8062
monochromatic
#260E23 #531E4C #802E75 #AD3E9E #C762B9

Accessibility & contrast

On white

8.19
#802E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E75
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E75#FFFFFF#000000##FFFFFF
##802E751.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4777
Deuteranopia (green-blind)
#475373
Tritanopia (blue-blind)
#86344D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802e75;
/* rgb */ color: rgb(128, 46, 117);
/* oklch */ color: oklch(44.6% 0.143 333.3);
Tailwind
colors: {
  custom: {
    50: '#a76d9d',
    500: '#802e75',
    950: '#000000',
  },
}
SCSS
$custom: #802e75;
$custom-light: #a76d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#802e75",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 308.049,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.14294,
    "h": 333.3
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#802E75
secondary
#5DAD67
accent
#D76351
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802E75

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

Preview Lab → · Contrast checker → · Palette generator →

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