#802286#802286

#802286 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.173 H 325.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#802286
RGBrgb(128, 34, 134)
HSLhsl(296, 60%, 33%)
HSVhsv(296, 75%, 53%)
CMYKcmyk(4.5%, 74.6%, 0%, 47.5%)
CIE-LABlab(32.82, 52.21, -35.39)
CIE-LCHlch(32.82, 63.07, 325.87°)
OKLaboklab(44.36% 0.1426 -0.0984)
OKLCHoklch(44.36% 0.173 325.4)
XYZxyz(13.7769, 7.4554, 23.2630)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802286 #288622
analogous
#4E2286 #802286 #86225A
triadic
#802286 #868022 #228680
tetradic
#802286 #864E22 #288622 #225A86
square
#802286 #864E22 #288622 #225A86
split-complementary
#802286 #5A8622 #22864E
monochromatic
#230924 #511655 #802286 #AF2EB7 #CB50D3

Accessibility & contrast

On white

8.43
#802286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802286
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802286#FFFFFF#000000##FFFFFF
##8022861.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802286;
/* rgb */ color: rgb(128, 34, 134);
/* oklch */ color: oklch(44.4% 0.173 325.4);
Tailwind
colors: {
  custom: {
    50: '#a867aa',
    500: '#802286',
    950: '#000000',
  },
}
SCSS
$custom: #802286;
$custom-light: #a867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802286",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 296.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44362,
    "c": 0.17327,
    "h": 325.4
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#802286
secondary
#54B64E
accent
#E3454F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802286

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

Preview Lab → · Contrast checker → · Palette generator →

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