#802086#802086

#802086 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.175 H 325.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#802086
RGBrgb(128, 32, 134)
HSLhsl(296, 61%, 33%)
HSVhsv(296, 76%, 53%)
CMYKcmyk(4.5%, 76.1%, 0%, 47.5%)
CIE-LABlab(32.58, 52.91, -35.78)
CIE-LCHlch(32.58, 63.87, 325.93°)
OKLaboklab(44.19% 0.1445 -0.0996)
OKLCHoklch(44.19% 0.175 325.4)
XYZxyz(13.7214, 7.3444, 23.2445)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802086 #268620
analogous
#4D2086 #802086 #862059
triadic
#802086 #868020 #208680
tetradic
#802086 #864D20 #268620 #205986
square
#802086 #864D20 #268620 #205986
split-complementary
#802086 #598620 #20864D
monochromatic
#220823 #511455 #802086 #AF2CB7 #CC4CD4

Accessibility & contrast

On white

8.51
#802086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802086
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802086#FFFFFF#000000##FFFFFF
##8020861.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802086;
/* rgb */ color: rgb(128, 32, 134);
/* oklch */ color: oklch(44.2% 0.175 325.4);
Tailwind
colors: {
  custom: {
    50: '#a867aa',
    500: '#802086',
    950: '#000000',
  },
}
SCSS
$custom: #802086;
$custom-light: #a867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802086",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 296.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44189,
    "c": 0.17549,
    "h": 325.4
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#802086
secondary
#51B74B
accent
#E5434D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #802086

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

Preview Lab → · Contrast checker → · Palette generator →

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