#802792#802792

#802792 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.178 H 320.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#802792
RGBrgb(128, 39, 146)
HSLhsl(290, 58%, 36%)
HSVhsv(290, 73%, 57%)
CMYKcmyk(12.3%, 73.3%, 0%, 42.7%)
CIE-LABlab(34.22, 52.61, -40.55)
CIE-LCHlch(34.22, 66.42, 322.37°)
OKLaboklab(45.6% 0.1369 -0.1136)
OKLCHoklch(45.6% 0.178 320.3)
XYZxyz(14.8153, 8.1163, 27.9748)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802792 #399227
analogous
#4B2792 #802792 #92276F
triadic
#802792 #928027 #279280
tetradic
#802792 #924B27 #399227 #276F92
square
#802792 #924B27 #399227 #276F92
split-complementary
#802792 #6F9227 #27924B
monochromatic
#2B0D31 #561A62 #802792 #AA34C2 #C15FD4

Accessibility & contrast

On white

8.01
#802792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#802792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802792
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802792#FFFFFF#000000##FFFFFF
##8027921.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#813B5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802792;
/* rgb */ color: rgb(128, 39, 146);
/* oklch */ color: oklch(45.6% 0.178 320.3);
Tailwind
colors: {
  custom: {
    50: '#a86ab2',
    500: '#802792',
    950: '#000000',
  },
}
SCSS
$custom: #802792;
$custom-light: #a86ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#802792",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 289.907,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.17789,
    "h": 320.3
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#802792
secondary
#6BBA5B
accent
#E14761
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802792

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

Preview Lab → · Contrast checker → · Palette generator →

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