#802689#802689

#802689 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 324.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#802689
RGBrgb(128, 38, 137)
HSLhsl(295, 57%, 34%)
HSVhsv(295, 72%, 54%)
CMYKcmyk(6.6%, 72.3%, 0%, 46.3%)
CIE-LABlab(33.53, 51.28, -36.13)
CIE-LCHlch(33.53, 62.73, 324.83°)
OKLaboklab(44.92% 0.1384 -0.1006)
OKLCHoklch(44.92% 0.171 324)
XYZxyz(14.1102, 7.7824, 24.4210)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802689 #2F8926
analogous
#4E2689 #802689 #892661
triadic
#802689 #898026 #268980
tetradic
#802689 #894E26 #2F8926 #266189
square
#802689 #894E26 #2F8926 #266189
split-complementary
#802689 #618926 #26894E
monochromatic
#260B29 #531959 #802689 #AD33B9 #C659D1

Accessibility & contrast

On white

8.21
#802689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802689
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802689#FFFFFF#000000##FFFFFF
##8026891.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488C
Deuteranopia (green-blind)
#385287
Tritanopia (blue-blind)
#823755
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802689;
/* rgb */ color: rgb(128, 38, 137);
/* oklch */ color: oklch(44.9% 0.171 324.0);
Tailwind
colors: {
  custom: {
    50: '#a869ac',
    500: '#802689',
    950: '#000000',
  },
}
SCSS
$custom: #802689;
$custom-light: #a869ac;
$custom-dark: #000000;
JSON
{
  "hex": "#802689",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 294.545,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.17112,
    "h": 324
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#802689
secondary
#5EB655
accent
#E04856
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802689

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

Preview Lab → · Contrast checker → · Palette generator →

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