#802893#802893

#802893 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 319.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#802893
RGBrgb(128, 40, 147)
HSLhsl(289, 57%, 37%)
HSVhsv(289, 73%, 58%)
CMYKcmyk(12.9%, 72.8%, 0%, 42.4%)
CIE-LABlab(34.42, 52.41, -40.84)
CIE-LCHlch(34.42, 66.45, 322.07°)
OKLaboklab(45.77% 0.1358 -0.1144)
OKLCHoklch(45.77% 0.178 319.9)
XYZxyz(14.9267, 8.2141, 28.3973)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802893 #3B9328
analogous
#4B2893 #802893 #932871
triadic
#802893 #938028 #289380
tetradic
#802893 #934B28 #3B9328 #287193
square
#802893 #934B28 #3B9328 #287193
split-complementary
#802893 #719328 #28934B
monochromatic
#2C0E33 #561B63 #802893 #AA35C3 #C061D4

Accessibility & contrast

On white

7.95
#802893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#802893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802893
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802893#FFFFFF#000000##FFFFFF
##8028931.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#803C5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802893;
/* rgb */ color: rgb(128, 40, 147);
/* oklch */ color: oklch(45.8% 0.178 319.9);
Tailwind
colors: {
  custom: {
    50: '#a86bb3',
    500: '#802893',
    950: '#000000',
  },
}
SCSS
$custom: #802893;
$custom-light: #a86bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#802893",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 289.346,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.17759,
    "h": 319.9
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#802893
secondary
#6EBA5D
accent
#E04763
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802893

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

Preview Lab → · Contrast checker → · Palette generator →

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