#802C92#802C92

#802C92 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.172 H 320.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#802C92
RGBrgb(128, 44, 146)
HSLhsl(289, 54%, 37%)
HSVhsv(289, 70%, 57%)
CMYKcmyk(12.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(34.94, 50.59, -39.41)
CIE-LCHlch(34.94, 64.13, 322.08°)
OKLaboklab(46.11% 0.1316 -0.1103)
OKLCHoklch(46.11% 0.172 320)
XYZxyz(14.9904, 8.4666, 28.0332)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C92 #3E922C
analogous
#4D2C92 #802C92 #922C71
triadic
#802C92 #92802C #2C9280
tetradic
#802C92 #924D2C #3E922C #2C7192
square
#802C92 #924D2C #3E922C #2C7192
split-complementary
#802C92 #71922C #2C924D
monochromatic
#2E1034 #571E63 #802C92 #A93AC1 #BF67D1

Accessibility & contrast

On white

7.80
#802C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#802C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C92
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C92#FFFFFF#000000##FFFFFF
##802C921.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C95
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#813F5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802c92;
/* rgb */ color: rgb(128, 44, 146);
/* oklch */ color: oklch(46.1% 0.172 320.0);
Tailwind
colors: {
  custom: {
    50: '#a86db2',
    500: '#802c92',
    950: '#000000',
  },
}
SCSS
$custom: #802c92;
$custom-light: #a86db2;
$custom-dark: #000000;
JSON
{
  "hex": "#802c92",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 289.412,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46114,
    "c": 0.17166,
    "h": 320
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#802C92
secondary
#71B862
accent
#DD4B65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C92

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

Preview Lab → · Contrast checker → · Palette generator →

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