#802386#802386

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

Color values

HEX#802386
RGBrgb(128, 35, 134)
HSLhsl(296, 59%, 33%)
HSVhsv(296, 74%, 53%)
CMYKcmyk(4.5%, 73.9%, 0%, 47.5%)
CIE-LABlab(32.95, 51.85, -35.19)
CIE-LCHlch(32.95, 62.66, 325.84°)
OKLaboklab(44.45% 0.1416 -0.0979)
OKLCHoklch(44.45% 0.172 325.3)
XYZxyz(13.8059, 7.5134, 23.2727)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802386 #298623
analogous
#4E2386 #802386 #86235A
triadic
#802386 #868023 #238680
tetradic
#802386 #864E23 #298623 #235A86
square
#802386 #864E23 #298623 #235A86
split-complementary
#802386 #5A8623 #23864E
monochromatic
#230A25 #521655 #802386 #AE30B7 #CA52D2

Accessibility & contrast

On white

8.39
#802386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#802386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802386
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802386#FFFFFF#000000##FFFFFF
##8023861.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#833452
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802386;
/* rgb */ color: rgb(128, 35, 134);
/* oklch */ color: oklch(44.5% 0.172 325.3);
Tailwind
colors: {
  custom: {
    50: '#a868aa',
    500: '#802386',
    950: '#000000',
  },
}
SCSS
$custom: #802386;
$custom-light: #a868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802386",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 296.364,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.17211,
    "h": 325.3
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#802386
secondary
#55B54F
accent
#E2464F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802386

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

Preview Lab → · Contrast checker → · Palette generator →

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