#802C93#802C93

#802C93 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.173 H 319.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#802C93
RGBrgb(128, 44, 147)
HSLhsl(289, 54%, 37%)
HSVhsv(289, 70%, 58%)
CMYKcmyk(12.9%, 70.1%, 0%, 42.4%)
CIE-LABlab(35.00, 50.79, -39.92)
CIE-LCHlch(35.00, 64.60, 321.83°)
OKLaboklab(46.18% 0.1315 -0.1118)
OKLCHoklch(46.18% 0.173 319.6)
XYZxyz(15.0686, 8.4979, 28.4446)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C93 #3F932C
analogous
#4C2C93 #802C93 #932C73
triadic
#802C93 #93802C #2C9380
tetradic
#802C93 #934C2C #3F932C #2C7393
square
#802C93 #934C2C #3F932C #2C7393
split-complementary
#802C93 #73932C #2C934C
monochromatic
#2E1035 #571E64 #802C93 #A93AC2 #BE68D2

Accessibility & contrast

On white

7.78
#802C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#802C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C93
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C93#FFFFFF#000000##FFFFFF
##802C931.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#345591
Tritanopia (blue-blind)
#803F5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802c93;
/* rgb */ color: rgb(128, 44, 147);
/* oklch */ color: oklch(46.2% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#a86db3',
    500: '#802c93',
    950: '#000000',
  },
}
SCSS
$custom: #802c93;
$custom-light: #a86db3;
$custom-dark: #000000;
JSON
{
  "hex": "#802c93",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 288.932,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.17259,
    "h": 319.6
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#802C93
secondary
#72B863
accent
#DD4A66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C93

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

Preview Lab → · Contrast checker → · Palette generator →

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