#802F85#802F85

#802F85 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.156 H 325.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#802F85
RGBrgb(128, 47, 133)
HSLhsl(297, 48%, 35%)
HSVhsv(297, 65%, 52%)
CMYKcmyk(3.8%, 64.7%, 0%, 47.8%)
CIE-LABlab(34.63, 46.76, -31.89)
CIE-LCHlch(34.63, 56.60, 325.71°)
OKLaboklab(45.65% 0.128 -0.0884)
OKLCHoklch(45.65% 0.156 325.4)
XYZxyz(14.1519, 8.3165, 23.0456)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F85 #34852F
analogous
#552F85 #802F85 #852F5F
triadic
#802F85 #85802F #2F8580
tetradic
#802F85 #85552F #34852F #2F5F85
square
#802F85 #85552F #34852F #2F5F85
split-complementary
#802F85 #5F852F #2F8555
monochromatic
#290F2B #541F58 #802F85 #AC3FB2 #C366C9

Accessibility & contrast

On white

7.89
#802F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#802F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F85
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F85#FFFFFF#000000##FFFFFF
##802F851.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#833B56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802f85;
/* rgb */ color: rgb(128, 47, 133);
/* oklch */ color: oklch(45.6% 0.156 325.4);
Tailwind
colors: {
  custom: {
    50: '#a86ea9',
    500: '#802f85',
    950: '#000000',
  },
}
SCSS
$custom: #802f85;
$custom-light: #a86ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#802f85",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 296.512,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.15551,
    "h": 325.4
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#802F85
secondary
#65B060
accent
#D75058
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802F85

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

Preview Lab → · Contrast checker → · Palette generator →

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