#802195#802195

#802195 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.187 H 319.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#802195
RGBrgb(128, 33, 149)
HSLhsl(289, 64%, 36%)
HSVhsv(289, 78%, 58%)
CMYKcmyk(14.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(33.66, 55.35, -43.29)
CIE-LCHlch(33.66, 70.27, 321.97°)
OKLaboklab(45.27% 0.1424 -0.1215)
OKLCHoklch(45.27% 0.187 319.5)
XYZxyz(14.8701, 7.8476, 29.1594)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802195 #369521
analogous
#462195 #802195 #952170
triadic
#802195 #958021 #219580
tetradic
#802195 #954621 #369521 #217095
square
#802195 #954621 #369521 #217095
split-complementary
#802195 #709521 #219546
monochromatic
#2A0B31 #551663 #802195 #AB2CC7 #C257DA

Accessibility & contrast

On white

8.17
#802195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802195
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802195#FFFFFF#000000##FFFFFF
##8021951.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#80395A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802195;
/* rgb */ color: rgb(128, 33, 149);
/* oklch */ color: oklch(45.3% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#802195',
    950: '#000000',
  },
}
SCSS
$custom: #802195;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802195",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 289.138,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.18719,
    "h": 319.5
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#802195
secondary
#67BE54
accent
#E7415F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802195

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

Preview Lab → · Contrast checker → · Palette generator →

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