#821678#821678

#821678 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 332.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#821678
RGBrgb(130, 22, 120)
HSLhsl(306, 71%, 30%)
HSVhsv(306, 83%, 51%)
CMYKcmyk(0%, 83.1%, 7.7%, 49%)
CIE-LABlab(31.06, 54.00, -29.39)
CIE-LCHlch(31.06, 61.48, 331.44°)
OKLaboklab(42.91% 0.1555 -0.0809)
OKLCHoklch(42.91% 0.175 332.5)
XYZxyz(12.8831, 6.6768, 18.3759)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821678 #168220
analogous
#561682 #821678 #821642
triadic
#821678 #788216 #167882
tetradic
#821678 #825616 #168220 #164282
square
#821678 #825616 #168220 #164282
split-complementary
#821678 #428216 #168256
monochromatic
#1A0418 #4E0D48 #821678 #B61FA8 #DD35CD

Accessibility & contrast

On white

8.99
#821678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#821678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821678
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821678#FFFFFF#000000##FFFFFF
##8216781.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407A
Deuteranopia (green-blind)
#3D4E76
Tritanopia (blue-blind)
#882447
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821678;
/* rgb */ color: rgb(130, 22, 120);
/* oklch */ color: oklch(42.9% 0.175 332.5);
Tailwind
colors: {
  custom: {
    50: '#aa639f',
    500: '#821678',
    950: '#000000',
  },
}
SCSS
$custom: #821678;
$custom-light: #aa639f;
$custom-dark: #000000;
JSON
{
  "hex": "#821678",
  "rgb": {
    "r": 130,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 305.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.17529,
    "h": 332.5
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#821678
secondary
#3DB748
accent
#EE4B3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821678

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

Preview Lab → · Contrast checker → · Palette generator →

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