#802CA3#802CA3

#802CA3 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.188 H 313.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#802CA3
RGBrgb(128, 44, 163)
HSLhsl(282, 57%, 41%)
HSVhsv(282, 73%, 64%)
CMYKcmyk(21.5%, 73%, 0%, 36.1%)
CIE-LABlab(36.05, 54.07, -47.94)
CIE-LCHlch(36.05, 72.26, 318.44°)
OKLaboklab(47.27% 0.1301 -0.1352)
OKLCHoklch(47.27% 0.188 313.9)
XYZxyz(16.4125, 9.0354, 35.5227)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CA3 #4FA32C
analogous
#442CA3 #802CA3 #A32C8A
triadic
#802CA3 #A3802C #2CA380
tetradic
#802CA3 #A3442C #4FA32C #2C8AA3
square
#802CA3 #A3442C #4FA32C #2C8AA3
split-complementary
#802CA3 #8AA32C #2CA344
monochromatic
#341243 #5A1F73 #802CA3 #A341CC #BA71D9

Accessibility & contrast

On white

7.48
#802CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#802CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CA3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CA3#FFFFFF#000000##FFFFFF
##802CA31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2457A0
Tritanopia (blue-blind)
#7D4665
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ca3;
/* rgb */ color: rgb(128, 44, 163);
/* oklch */ color: oklch(47.3% 0.188 313.9);
Tailwind
colors: {
  custom: {
    50: '#a96dbf',
    500: '#802ca3',
    950: '#000000',
  },
}
SCSS
$custom: #802ca3;
$custom-light: #a96dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#802ca3",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 282.353,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.18769,
    "h": 313.9
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#802CA3
secondary
#84C06B
accent
#E14774
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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