#802CA7#802CA7

#802CA7 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.192 H 312.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#802CA7
RGBrgb(128, 44, 167)
HSLhsl(281, 58%, 41%)
HSVhsv(281, 74%, 65%)
CMYKcmyk(23.4%, 73.7%, 0%, 34.5%)
CIE-LABlab(36.33, 54.91, -49.89)
CIE-LCHlch(36.33, 74.19, 317.74°)
OKLaboklab(47.55% 0.1296 -0.141)
OKLCHoklch(47.55% 0.192 312.6)
XYZxyz(16.7766, 9.1811, 37.4401)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CA7 #53A72C
analogous
#432CA7 #802CA7 #A72C91
triadic
#802CA7 #A7802C #2CA780
tetradic
#802CA7 #A7432C #53A72C #2C91A7
square
#802CA7 #A7432C #53A72C #2C91A7
split-complementary
#802CA7 #91A72C #2CA743
monochromatic
#361246 #5B1F77 #802CA7 #A143CD #BA73DA

Accessibility & contrast

On white

7.40
#802CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#802CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CA7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CA7#FFFFFF#000000##FFFFFF
##802CA71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#1E57A4
Tritanopia (blue-blind)
#7C4767
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ca7;
/* rgb */ color: rgb(128, 44, 167);
/* oklch */ color: oklch(47.6% 0.192 312.6);
Tailwind
colors: {
  custom: {
    50: '#a96dc2',
    500: '#802ca7',
    950: '#000000',
  },
}
SCSS
$custom: #802ca7;
$custom-light: #a96dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#802ca7",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 280.976,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47553,
    "c": 0.1915,
    "h": 312.6
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#802CA7
secondary
#88C26D
accent
#E24678
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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