#802287#802287

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

Color values

HEX#802287
RGBrgb(128, 34, 135)
HSLhsl(296, 60%, 33%)
HSVhsv(296, 75%, 53%)
CMYKcmyk(5.2%, 74.8%, 0%, 47.1%)
CIE-LABlab(32.88, 52.39, -35.91)
CIE-LCHlch(32.88, 63.52, 325.57°)
OKLaboklab(44.43% 0.1426 -0.1)
OKLCHoklch(44.43% 0.174 325)
XYZxyz(13.8470, 7.4834, 23.6321)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802287 #298722
analogous
#4E2287 #802287 #87225B
triadic
#802287 #878022 #228780
tetradic
#802287 #874E22 #298722 #225B87
square
#802287 #874E22 #298722 #225B87
split-complementary
#802287 #5B8722 #22874E
monochromatic
#230925 #521656 #802287 #AE2EB8 #CA50D3

Accessibility & contrast

On white

8.41
#802287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802287
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802287#FFFFFF#000000##FFFFFF
##8022871.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#833453
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802287;
/* rgb */ color: rgb(128, 34, 135);
/* oklch */ color: oklch(44.4% 0.174 325.0);
Tailwind
colors: {
  custom: {
    50: '#a868aa',
    500: '#802287',
    950: '#000000',
  },
}
SCSS
$custom: #802287;
$custom-light: #a868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802287",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 295.842,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.17412,
    "h": 325
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#802287
secondary
#55B74E
accent
#E34550
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802287

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

Preview Lab → · Contrast checker → · Palette generator →

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