#802684#802684

#802684 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.167 H 326.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#802684
RGBrgb(128, 38, 132)
HSLhsl(297, 55%, 33%)
HSVhsv(297, 71%, 52%)
CMYKcmyk(3%, 71.2%, 0%, 48.2%)
CIE-LABlab(33.23, 50.36, -33.50)
CIE-LCHlch(33.23, 60.48, 326.37°)
OKLaboklab(44.61% 0.1385 -0.093)
OKLCHoklch(44.61% 0.167 326.1)
XYZxyz(13.7598, 7.6423, 22.5757)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802684 #2A8426
analogous
#512684 #802684 #842659
triadic
#802684 #848026 #268480
tetradic
#802684 #845126 #2A8426 #265984
square
#802684 #845126 #2A8426 #265984
split-complementary
#802684 #598426 #268451
monochromatic
#240B25 #521854 #802684 #AE34B4 #C956CE

Accessibility & contrast

On white

8.31
#802684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802684
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802684#FFFFFF#000000##FFFFFF
##8026841.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#833552
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802684;
/* rgb */ color: rgb(128, 38, 132);
/* oklch */ color: oklch(44.6% 0.167 326.1);
Tailwind
colors: {
  custom: {
    50: '#a869a8',
    500: '#802684',
    950: '#000000',
  },
}
SCSS
$custom: #802684;
$custom-light: #a869a8;
$custom-dark: #000000;
JSON
{
  "hex": "#802684",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 297.447,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.16679,
    "h": 326.1
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#802684
secondary
#57B353
accent
#DF4950
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802684

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

Preview Lab → · Contrast checker → · Palette generator →

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