#802196#802196

#802196 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.188 H 319.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#802196
RGBrgb(128, 33, 150)
HSLhsl(289, 64%, 36%)
HSVhsv(289, 78%, 59%)
CMYKcmyk(14.7%, 78%, 0%, 41.2%)
CIE-LABlab(33.73, 55.54, -43.79)
CIE-LCHlch(33.73, 70.73, 321.75°)
OKLaboklab(45.34% 0.1422 -0.123)
OKLCHoklch(45.34% 0.188 319.1)
XYZxyz(14.9502, 7.8797, 29.5817)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802196 #379621
analogous
#452196 #802196 #962171
triadic
#802196 #968021 #219680
tetradic
#802196 #964521 #379621 #217196
square
#802196 #964521 #379621 #217196
split-complementary
#802196 #719621 #219645
monochromatic
#2A0B32 #551664 #802196 #AB2CC8 #C257DA

Accessibility & contrast

On white

8.15
#802196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802196
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802196#FFFFFF#000000##FFFFFF
##8021961.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#2A5293
Tritanopia (blue-blind)
#803A5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802196;
/* rgb */ color: rgb(128, 33, 150);
/* oklch */ color: oklch(45.3% 0.188 319.1);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#802196',
    950: '#000000',
  },
}
SCSS
$custom: #802196;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802196",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 288.718,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.18806,
    "h": 319.1
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#802196
secondary
#69BE55
accent
#E74160
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802196

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

Preview Lab → · Contrast checker → · Palette generator →

#802196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva