#802F88#802F88

#802F88 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.158 H 324.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#802F88
RGBrgb(128, 47, 136)
HSLhsl(295, 49%, 36%)
HSVhsv(295, 65%, 53%)
CMYKcmyk(5.9%, 65.4%, 0%, 46.7%)
CIE-LABlab(34.80, 47.33, -33.48)
CIE-LCHlch(34.80, 57.98, 324.73°)
OKLaboklab(45.83% 0.1281 -0.093)
OKLCHoklch(45.83% 0.158 324)
XYZxyz(14.3621, 8.4006, 24.1528)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F88 #37882F
analogous
#532F88 #802F88 #882F63
triadic
#802F88 #88802F #2F8880
tetradic
#802F88 #88532F #37882F #2F6388
square
#802F88 #88532F #37882F #2F6388
split-complementary
#802F88 #63882F #2F8853
monochromatic
#2A102D #551F5B #802F88 #AB3FB5 #C267CA

Accessibility & contrast

On white

7.84
#802F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#802F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F88
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F88#FFFFFF#000000##FFFFFF
##802F881.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#3E5586
Tritanopia (blue-blind)
#823C57
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802f88;
/* rgb */ color: rgb(128, 47, 136);
/* oklch */ color: oklch(45.8% 0.158 324.0);
Tailwind
colors: {
  custom: {
    50: '#a86eab',
    500: '#802f88',
    950: '#000000',
  },
}
SCSS
$custom: #802f88;
$custom-light: #a86eab;
$custom-dark: #000000;
JSON
{
  "hex": "#802f88",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 294.607,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.15828,
    "h": 324
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#802F88
secondary
#69B161
accent
#D8505C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802F88

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

Preview Lab → · Contrast checker → · Palette generator →

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