#802892#802892

#802892 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.177 H 320.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#802892
RGBrgb(128, 40, 146)
HSLhsl(290, 57%, 36%)
HSVhsv(290, 73%, 57%)
CMYKcmyk(12.3%, 72.6%, 0%, 42.7%)
CIE-LABlab(34.36, 52.22, -40.33)
CIE-LCHlch(34.36, 65.98, 322.32°)
OKLaboklab(45.7% 0.1359 -0.1129)
OKLCHoklch(45.7% 0.177 320.3)
XYZxyz(14.8486, 8.1829, 27.9859)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802892 #3A9228
analogous
#4B2892 #802892 #92286F
triadic
#802892 #928028 #289280
tetradic
#802892 #924B28 #3A9228 #286F92
square
#802892 #924B28 #3A9228 #286F92
split-complementary
#802892 #6F9228 #28924B
monochromatic
#2C0E32 #561B62 #802892 #AA35C2 #C061D4

Accessibility & contrast

On white

7.97
#802892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802892
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802892#FFFFFF#000000##FFFFFF
##8028921.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#325490
Tritanopia (blue-blind)
#813C5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #802892;
/* rgb */ color: rgb(128, 40, 146);
/* oklch */ color: oklch(45.7% 0.177 320.3);
Tailwind
colors: {
  custom: {
    50: '#a86bb2',
    500: '#802892',
    950: '#000000',
  },
}
SCSS
$custom: #802892;
$custom-light: #a86bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802892",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 289.811,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.17669,
    "h": 320.3
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#802892
secondary
#6CB95D
accent
#E04861
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802892

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

Preview Lab → · Contrast checker → · Palette generator →

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