#802095#802095

#802095 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.188 H 319.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#802095
RGBrgb(128, 32, 149)
HSLhsl(289, 65%, 35%)
HSVhsv(289, 79%, 58%)
CMYKcmyk(14.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(33.55, 55.69, -43.47)
CIE-LCHlch(33.55, 70.65, 322.02°)
OKLaboklab(45.19% 0.1432 -0.1221)
OKLCHoklch(45.19% 0.188 319.6)
XYZxyz(14.8427, 7.7929, 29.1503)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802095 #359520
analogous
#462095 #802095 #95206F
triadic
#802095 #958020 #209580
tetradic
#802095 #954620 #359520 #206F95
square
#802095 #954620 #359520 #206F95
split-complementary
#802095 #6F9520 #209546
monochromatic
#290A30 #551563 #802095 #AB2BC7 #C355DA

Accessibility & contrast

On white

8.21
#802095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802095
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802095#FFFFFF#000000##FFFFFF
##8020951.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802095;
/* rgb */ color: rgb(128, 32, 149);
/* oklch */ color: oklch(45.2% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#a967b5',
    500: '#802095',
    950: '#000000',
  },
}
SCSS
$custom: #802095;
$custom-light: #a967b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802095",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 289.231,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.18821,
    "h": 319.6
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#802095
secondary
#66BE53
accent
#E8405E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802095

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

Preview Lab → · Contrast checker → · Palette generator →

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