#802185#802185

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

Color values

HEX#802185
RGBrgb(128, 33, 133)
HSLhsl(297, 60%, 33%)
HSVhsv(297, 75%, 52%)
CMYKcmyk(3.8%, 75.2%, 0%, 47.8%)
CIE-LABlab(32.64, 52.38, -35.06)
CIE-LCHlch(32.64, 63.03, 326.20°)
OKLaboklab(44.21% 0.1436 -0.0975)
OKLCHoklch(44.21% 0.174 325.8)
XYZxyz(13.6793, 7.3713, 22.8881)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802185 #268521
analogous
#4E2185 #802185 #852158
triadic
#802185 #858021 #218580
tetradic
#802185 #854E21 #268521 #215885
square
#802185 #854E21 #268521 #215885
split-complementary
#802185 #588521 #21854E
monochromatic
#220923 #511554 #802185 #AF2DB6 #CC4DD3

Accessibility & contrast

On white

8.49
#802185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802185
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802185#FFFFFF#000000##FFFFFF
##8021851.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#833251
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802185;
/* rgb */ color: rgb(128, 33, 133);
/* oklch */ color: oklch(44.2% 0.174 325.8);
Tailwind
colors: {
  custom: {
    50: '#a867a9',
    500: '#802185',
    950: '#000000',
  },
}
SCSS
$custom: #802185;
$custom-light: #a867a9;
$custom-dark: #000000;
JSON
{
  "hex": "#802185",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 297,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.17356,
    "h": 325.8
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#802185
secondary
#51B64C
accent
#E3444C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802185

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

Preview Lab → · Contrast checker → · Palette generator →

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