#802186#802186

#802186 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.174 H 325.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#802186
RGBrgb(128, 33, 134)
HSLhsl(296, 60%, 33%)
HSVhsv(296, 75%, 53%)
CMYKcmyk(4.5%, 75.4%, 0%, 47.5%)
CIE-LABlab(32.70, 52.56, -35.58)
CIE-LCHlch(32.70, 63.47, 325.90°)
OKLaboklab(44.27% 0.1436 -0.099)
OKLCHoklch(44.27% 0.174 325.4)
XYZxyz(13.7487, 7.3990, 23.2536)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802186 #278621
analogous
#4E2186 #802186 #862159
triadic
#802186 #868021 #218680
tetradic
#802186 #864E21 #278621 #215986
square
#802186 #864E21 #278621 #215986
split-complementary
#802186 #598621 #21864E
monochromatic
#220924 #511555 #802186 #AF2DB7 #CB4ED3

Accessibility & contrast

On white

8.47
#802186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802186
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802186#FFFFFF#000000##FFFFFF
##8021861.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#833252
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802186;
/* rgb */ color: rgb(128, 33, 134);
/* oklch */ color: oklch(44.3% 0.174 325.4);
Tailwind
colors: {
  custom: {
    50: '#a867aa',
    500: '#802186',
    950: '#000000',
  },
}
SCSS
$custom: #802186;
$custom-light: #a867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802186",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 296.436,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.1744,
    "h": 325.4
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#802186
secondary
#53B74C
accent
#E4444E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802186

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

Preview Lab → · Contrast checker → · Palette generator →

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