#802BA3#802BA3

#802BA3 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.189 H 314.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#802BA3
RGBrgb(128, 43, 163)
HSLhsl(283, 58%, 40%)
HSVhsv(283, 74%, 64%)
CMYKcmyk(21.5%, 73.6%, 0%, 36.1%)
CIE-LABlab(35.91, 54.47, -48.17)
CIE-LCHlch(35.91, 72.71, 318.51°)
OKLaboklab(47.17% 0.1311 -0.1359)
OKLCHoklch(47.17% 0.189 314)
XYZxyz(16.3757, 8.9618, 35.5104)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BA3 #4EA32B
analogous
#442BA3 #802BA3 #A32B8A
triadic
#802BA3 #A3802B #2BA380
tetradic
#802BA3 #A3442B #4EA32B #2B8AA3
square
#802BA3 #A3442B #4EA32B #2B8AA3
split-complementary
#802BA3 #8AA32B #2BA344
monochromatic
#341142 #5A1E73 #802BA3 #A33FCC #BA6FD9

Accessibility & contrast

On white

7.52
#802BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#802BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802BA3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BA3#FFFFFF#000000##FFFFFF
##802BA31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2356A0
Tritanopia (blue-blind)
#7D4565
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #802ba3;
/* rgb */ color: rgb(128, 43, 163);
/* oklch */ color: oklch(47.2% 0.189 314.0);
Tailwind
colors: {
  custom: {
    50: '#a96dbf',
    500: '#802ba3',
    950: '#000000',
  },
}
SCSS
$custom: #802ba3;
$custom-light: #a96dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#802ba3",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 282.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.18886,
    "h": 314
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#802BA3
secondary
#83C06A
accent
#E14674
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #802BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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