#821874#821874

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

Color values

HEX#821874
RGBrgb(130, 24, 116)
HSLhsl(308, 69%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 81.5%, 10.8%, 49%)
CIE-LABlab(31.02, 52.83, -26.91)
CIE-LCHlch(31.02, 59.29, 333.01°)
OKLaboklab(42.81% 0.1538 -0.0737)
OKLCHoklch(42.81% 0.171 334.4)
XYZxyz(12.6851, 6.6612, 17.1373)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821874 #188226
analogous
#5B1882 #821874 #82183F
triadic
#821874 #748218 #187482
tetradic
#821874 #825B18 #188226 #183F82
square
#821874 #825B18 #188226 #183F82
split-complementary
#821874 #3F8218 #18825B
monochromatic
#1B0518 #4E0E46 #821874 #B622A2 #DB3AC5

Accessibility & contrast

On white

9.01
#821874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#821874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821874
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821874#FFFFFF#000000##FFFFFF
##8218741.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#892346
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821874;
/* rgb */ color: rgb(130, 24, 116);
/* oklch */ color: oklch(42.8% 0.171 334.4);
Tailwind
colors: {
  custom: {
    50: '#aa639c',
    500: '#821874',
    950: '#000000',
  },
}
SCSS
$custom: #821874;
$custom-light: #aa639c;
$custom-dark: #000000;
JSON
{
  "hex": "#821874",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 307.925,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.17057,
    "h": 334.4
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#821874
secondary
#40B64F
accent
#EC533C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821874

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

Preview Lab → · Contrast checker → · Palette generator →

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