#802C8F#802C8F

#802C8F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.169 H 321.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#802C8F
RGBrgb(128, 44, 143)
HSLhsl(291, 53%, 37%)
HSVhsv(291, 69%, 56%)
CMYKcmyk(10.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(34.75, 50.00, -37.87)
CIE-LCHlch(34.75, 62.72, 322.86°)
OKLaboklab(45.92% 0.1317 -0.1058)
OKLCHoklch(45.92% 0.169 321.2)
XYZxyz(14.7601, 8.3745, 26.8202)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C8F #3B8F2C
analogous
#4F2C8F #802C8F #8F2C6D
triadic
#802C8F #8F802C #2C8F80
tetradic
#802C8F #8F4F2C #3B8F2C #2C6D8F
square
#802C8F #8F4F2C #3B8F2C #2C6D8F
split-complementary
#802C8F #6D8F2C #2C8F4F
monochromatic
#2C0F31 #561E60 #802C8F #AA3ABE #C066D0

Accessibility & contrast

On white

7.85
#802C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#802C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C8F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C8F#FFFFFF#000000##FFFFFF
##802C8F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#813D5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802c8f;
/* rgb */ color: rgb(128, 44, 143);
/* oklch */ color: oklch(45.9% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#a86cb0',
    500: '#802c8f',
    950: '#000000',
  },
}
SCSS
$custom: #802c8f;
$custom-light: #a86cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#802c8f",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 290.909,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.16888,
    "h": 321.2
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#802C8F
secondary
#6EB661
accent
#DC4B61
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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