#802489#802489

#802489 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.174 H 324.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#802489
RGBrgb(128, 36, 137)
HSLhsl(295, 58%, 34%)
HSVhsv(295, 74%, 54%)
CMYKcmyk(6.6%, 73.7%, 0%, 46.3%)
CIE-LABlab(33.26, 52.03, -36.55)
CIE-LCHlch(33.26, 63.59, 324.91°)
OKLaboklab(44.74% 0.1405 -0.1018)
OKLCHoklch(44.74% 0.174 324.1)
XYZxyz(14.0479, 7.6580, 24.4003)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802489 #2D8924
analogous
#4E2489 #802489 #892460
triadic
#802489 #898024 #248980
tetradic
#802489 #894E24 #2D8924 #246089
square
#802489 #894E24 #2D8924 #246089
split-complementary
#802489 #608924 #24894E
monochromatic
#250B28 #531759 #802489 #AD31B9 #C755D2

Accessibility & contrast

On white

8.30
#802489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802489
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802489#FFFFFF#000000##FFFFFF
##8024891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#823654
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802489;
/* rgb */ color: rgb(128, 36, 137);
/* oklch */ color: oklch(44.7% 0.174 324.1);
Tailwind
colors: {
  custom: {
    50: '#a868ac',
    500: '#802489',
    950: '#000000',
  },
}
SCSS
$custom: #802489;
$custom-light: #a868ac;
$custom-dark: #000000;
JSON
{
  "hex": "#802489",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 294.653,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.17352,
    "h": 324.1
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#802489
secondary
#5BB752
accent
#E24654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802489

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

Preview Lab → · Contrast checker → · Palette generator →

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