#821687#821687

#821687 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.187 H 326.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#821687
RGBrgb(130, 22, 135)
HSLhsl(297, 72%, 31%)
HSVhsv(297, 84%, 53%)
CMYKcmyk(3.7%, 83.7%, 0%, 47.1%)
CIE-LABlab(31.97, 56.46, -37.36)
CIE-LCHlch(31.97, 67.70, 326.51°)
OKLaboklab(43.84% 0.155 -0.104)
OKLCHoklch(43.84% 0.187 326.1)
XYZxyz(13.8657, 7.0699, 23.5513)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821687 #1B8716
analogous
#491687 #821687 #871653
triadic
#821687 #878216 #168782
tetradic
#821687 #874916 #1B8716 #165387
square
#821687 #874916 #1B8716 #165387
split-complementary
#821687 #538716 #168749
monochromatic
#1D051E #4F0D52 #821687 #B51FBC #D739DF

Accessibility & contrast

On white

8.70
#821687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#821687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821687
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821687#FFFFFF#000000##FFFFFF
##8216871.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#335084
Tritanopia (blue-blind)
#852D50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821687;
/* rgb */ color: rgb(130, 22, 135);
/* oklch */ color: oklch(43.8% 0.187 326.1);
Tailwind
colors: {
  custom: {
    50: '#aa63aa',
    500: '#821687',
    950: '#000000',
  },
}
SCSS
$custom: #821687;
$custom-light: #aa63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821687",
  "rgb": {
    "r": 130,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 297.345,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.18666,
    "h": 326.1
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#821687
secondary
#43BB3E
accent
#EF3941
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821687

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

Preview Lab → · Contrast checker → · Palette generator →

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