#802E92#802E92

#802E92 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.169 H 319.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#802E92
RGBrgb(128, 46, 146)
HSLhsl(289, 52%, 38%)
HSVhsv(289, 68%, 57%)
CMYKcmyk(12.3%, 68.5%, 0%, 42.7%)
CIE-LABlab(35.24, 49.74, -38.93)
CIE-LCHlch(35.24, 63.16, 321.95°)
OKLaboklab(46.33% 0.1293 -0.1089)
OKLCHoklch(46.33% 0.169 319.9)
XYZxyz(15.0667, 8.6192, 28.0586)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E92 #40922E
analogous
#4E2E92 #802E92 #922E72
triadic
#802E92 #92802E #2E9280
tetradic
#802E92 #924E2E #40922E #2E7292
square
#802E92 #924E2E #40922E #2E7292
split-complementary
#802E92 #72922E #2E924E
monochromatic
#2E1135 #571F63 #802E92 #A93DC1 #BE6AD0

Accessibility & contrast

On white

7.71
#802E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#802E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E92
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E92#FFFFFF#000000##FFFFFF
##802E921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#80405C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802e92;
/* rgb */ color: rgb(128, 46, 146);
/* oklch */ color: oklch(46.3% 0.169 319.9);
Tailwind
colors: {
  custom: {
    50: '#a86eb2',
    500: '#802e92',
    950: '#000000',
  },
}
SCSS
$custom: #802e92;
$custom-light: #a86eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802e92",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 289.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.16902,
    "h": 319.9
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#802E92
secondary
#74B765
accent
#DC4C66
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802E92

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

Preview Lab → · Contrast checker → · Palette generator →

#802E92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva