#802486#802486

#802486 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.171 H 325.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#802486
RGBrgb(128, 36, 134)
HSLhsl(296, 58%, 33%)
HSVhsv(296, 73%, 53%)
CMYKcmyk(4.5%, 73.1%, 0%, 47.5%)
CIE-LABlab(33.08, 51.48, -34.98)
CIE-LCHlch(33.08, 62.24, 325.80°)
OKLaboklab(44.55% 0.1406 -0.0973)
OKLCHoklch(44.55% 0.171 325.3)
XYZxyz(13.8357, 7.5731, 23.2826)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802486 #2A8624
analogous
#4F2486 #802486 #86245B
triadic
#802486 #868024 #248680
tetradic
#802486 #864F24 #2A8624 #245B86
square
#802486 #864F24 #2A8624 #245B86
split-complementary
#802486 #5B8624 #24864F
monochromatic
#240A26 #521756 #802486 #AE31B6 #C953D1

Accessibility & contrast

On white

8.35
#802486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802486
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802486#FFFFFF#000000##FFFFFF
##8024861.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#385284
Tritanopia (blue-blind)
#833453
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802486;
/* rgb */ color: rgb(128, 36, 134);
/* oklch */ color: oklch(44.5% 0.171 325.3);
Tailwind
colors: {
  custom: {
    50: '#a868aa',
    500: '#802486',
    950: '#000000',
  },
}
SCSS
$custom: #802486;
$custom-light: #a868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802486",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 296.327,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.17094,
    "h": 325.3
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#802486
secondary
#57B551
accent
#E14750
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802486

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

Preview Lab → · Contrast checker → · Palette generator →

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