#802564#802564

#802564 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.143 H 342.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#802564
RGBrgb(128, 37, 100)
HSLhsl(318, 55%, 32%)
HSVhsv(318, 71%, 50%)
CMYKcmyk(0%, 71.1%, 21.9%, 49.8%)
CIE-LABlab(31.43, 45.47, -16.08)
CIE-LCHlch(31.43, 48.22, 340.53°)
OKLaboklab(42.77% 0.1364 -0.043)
OKLCHoklch(42.77% 0.143 342.5)
XYZxyz(11.8643, 6.8336, 12.7483)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802564 #258041
analogous
#6F2580 #802564 #802536
triadic
#802564 #648025 #256480
tetradic
#802564 #806F25 #258041 #253680
square
#802564 #806F25 #258041 #253680
split-complementary
#802564 #368025 #25806F
monochromatic
#210A1A #51173F #802564 #AF3389 #CD52A7

Accessibility & contrast

On white

8.87
#802564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802564
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802564#FFFFFF#000000##FFFFFF
##8025641.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4066
Deuteranopia (green-blind)
#494F62
Tritanopia (blue-blind)
#882641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802564;
/* rgb */ color: rgb(128, 37, 100);
/* oklch */ color: oklch(42.8% 0.143 342.5);
Tailwind
colors: {
  custom: {
    50: '#a86890',
    500: '#802564',
    950: '#000000',
  },
}
SCSS
$custom: #802564;
$custom-light: #a86890;
$custom-dark: #000000;
JSON
{
  "hex": "#802564",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 318.462,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.14299,
    "h": 342.5
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#802564
secondary
#50B16E
accent
#DE7749
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802564

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

Preview Lab → · Contrast checker → · Palette generator →

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