#802992#802992

#802992 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.175 H 320.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#802992
RGBrgb(128, 41, 146)
HSLhsl(290, 56%, 37%)
HSVhsv(290, 72%, 57%)
CMYKcmyk(12.3%, 71.9%, 0%, 42.7%)
CIE-LABlab(34.50, 51.82, -40.11)
CIE-LCHlch(34.50, 65.53, 322.26°)
OKLaboklab(45.8% 0.1348 -0.1123)
OKLCHoklch(45.8% 0.175 320.2)
XYZxyz(14.8827, 8.2511, 27.9973)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802992 #3B9229
analogous
#4C2992 #802992 #922970
triadic
#802992 #928029 #299280
tetradic
#802992 #924C29 #3B9229 #297092
square
#802992 #924C29 #3B9229 #297092
split-complementary
#802992 #709229 #29924C
monochromatic
#2C0E32 #561C62 #802992 #AA36C2 #C062D3

Accessibility & contrast

On white

7.92
#802992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#802992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802992
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802992#FFFFFF#000000##FFFFFF
##8029921.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802992;
/* rgb */ color: rgb(128, 41, 146);
/* oklch */ color: oklch(45.8% 0.175 320.2);
Tailwind
colors: {
  custom: {
    50: '#a86bb2',
    500: '#802992',
    950: '#000000',
  },
}
SCSS
$custom: #802992;
$custom-light: #a86bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802992",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 289.714,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.17547,
    "h": 320.2
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#802992
secondary
#6EB95E
accent
#DF4862
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802992

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

Preview Lab → · Contrast checker → · Palette generator →

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