#802193#802193

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

Color values

HEX#802193
RGBrgb(128, 33, 147)
HSLhsl(290, 63%, 35%)
HSVhsv(290, 78%, 58%)
CMYKcmyk(12.9%, 77.6%, 0%, 42.4%)
CIE-LABlab(33.53, 54.97, -42.28)
CIE-LCHlch(33.53, 69.35, 322.44°)
OKLaboklab(45.13% 0.1426 -0.1186)
OKLCHoklch(45.13% 0.185 320.3)
XYZxyz(14.7118, 7.7843, 28.3257)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802193 #349321
analogous
#472193 #802193 #93216D
triadic
#802193 #938021 #219380
tetradic
#802193 #934721 #349321 #216D93
square
#802193 #934721 #349321 #216D93
split-complementary
#802193 #6D9321 #219347
monochromatic
#290B2F #541661 #802193 #AC2CC5 #C355D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802193#FFFFFF#000000##FFFFFF
##8021931.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)
#004896
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#813959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802193;
/* rgb */ color: rgb(128, 33, 147);
/* oklch */ color: oklch(45.1% 0.185 320.3);
Tailwind
colors: {
  custom: {
    50: '#a968b3',
    500: '#802193',
    950: '#000000',
  },
}
SCSS
$custom: #802193;
$custom-light: #a968b3;
$custom-dark: #000000;
JSON
{
  "hex": "#802193",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 290,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.18546,
    "h": 320.3
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#802193
secondary
#65BD53
accent
#E6415D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802193

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

Preview Lab → · Contrast checker → · Palette generator →

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