#821875#821875

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

Color values

HEX#821875
RGBrgb(130, 24, 117)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 81.5%, 10%, 49%)
CIE-LABlab(31.08, 52.99, -27.46)
CIE-LCHlch(31.08, 59.68, 332.61°)
OKLaboklab(42.86% 0.1538 -0.0753)
OKLCHoklch(42.86% 0.171 333.9)
XYZxyz(12.7436, 6.6846, 17.4453)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821875 #188225
analogous
#5A1882 #821875 #821840
triadic
#821875 #758218 #187582
tetradic
#821875 #825A18 #188225 #184082
square
#821875 #825A18 #188225 #184082
split-complementary
#821875 #408218 #18825A
monochromatic
#1B0518 #4E0E47 #821875 #B622A3 #DB3AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821875#FFFFFF#000000##FFFFFF
##8218751.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)
#143F77
Deuteranopia (green-blind)
#3F4E73
Tritanopia (blue-blind)
#882446
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821875;
/* rgb */ color: rgb(130, 24, 117);
/* oklch */ color: oklch(42.9% 0.171 333.9);
Tailwind
colors: {
  custom: {
    50: '#aa639d',
    500: '#821875',
    950: '#000000',
  },
}
SCSS
$custom: #821875;
$custom-light: #aa639d;
$custom-dark: #000000;
JSON
{
  "hex": "#821875",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 307.358,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.1713,
    "h": 333.9
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#821875
secondary
#40B64E
accent
#EC523C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821875

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

Preview Lab → · Contrast checker → · Palette generator →

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