#802BA9#802BA9

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

Color values

HEX#802BA9
RGBrgb(128, 43, 169)
HSLhsl(280, 59%, 42%)
HSVhsv(280, 75%, 66%)
CMYKcmyk(24.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(36.33, 55.73, -51.09)
CIE-LCHlch(36.33, 75.60, 317.49°)
OKLaboklab(47.6% 0.1303 -0.1445)
OKLCHoklch(47.6% 0.195 312)
XYZxyz(16.9261, 9.1820, 38.4091)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BA9 #54A92B
analogous
#412BA9 #802BA9 #A92B93
triadic
#802BA9 #A9802B #2BA980
tetradic
#802BA9 #A9412B #54A92B #2B93A9
square
#802BA9 #A9412B #54A92B #2B93A9
split-complementary
#802BA9 #93A92B #2BA941
monochromatic
#361247 #5B1F78 #802BA9 #A142CF #B973DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802BA9#FFFFFF#000000##FFFFFF
##802BA91.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)
#0051AD
Deuteranopia (green-blind)
#1957A6
Tritanopia (blue-blind)
#7B4868
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802ba9;
/* rgb */ color: rgb(128, 43, 169);
/* oklch */ color: oklch(47.6% 0.195 312.0);
Tailwind
colors: {
  custom: {
    50: '#a96dc3',
    500: '#802ba9',
    950: '#000000',
  },
}
SCSS
$custom: #802ba9;
$custom-light: #a96dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#802ba9",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 280.476,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.19455,
    "h": 312
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#802BA9
secondary
#89C36D
accent
#E34578
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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