#802989#802989

#802989 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.167 H 323.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#802989
RGBrgb(128, 41, 137)
HSLhsl(294, 54%, 35%)
HSVhsv(294, 70%, 54%)
CMYKcmyk(6.6%, 70.1%, 0%, 46.3%)
CIE-LABlab(33.95, 50.09, -35.46)
CIE-LCHlch(33.95, 61.37, 324.71°)
OKLaboklab(45.23% 0.1352 -0.0987)
OKLCHoklch(45.23% 0.167 323.9)
XYZxyz(14.2100, 7.9821, 24.4543)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802989 #328929
analogous
#502989 #802989 #892962
triadic
#802989 #898029 #298980
tetradic
#802989 #895029 #328929 #296289
square
#802989 #895029 #328929 #296289
split-complementary
#802989 #628929 #298950
monochromatic
#280D2B #541B5A #802989 #AC37B8 #C45ECF

Accessibility & contrast

On white

8.09
#802989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#802989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802989
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802989#FFFFFF#000000##FFFFFF
##8029891.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#395387
Tritanopia (blue-blind)
#823956
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802989;
/* rgb */ color: rgb(128, 41, 137);
/* oklch */ color: oklch(45.2% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#a86bac',
    500: '#802989',
    950: '#000000',
  },
}
SCSS
$custom: #802989;
$custom-light: #a86bac;
$custom-dark: #000000;
JSON
{
  "hex": "#802989",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 294.375,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.16736,
    "h": 323.9
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#802989
secondary
#62B45A
accent
#DD4A58
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802989

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

Preview Lab → · Contrast checker → · Palette generator →

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