#821974#821974

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

Color values

HEX#821974
RGBrgb(130, 25, 116)
HSLhsl(308, 68%, 30%)
HSVhsv(308, 81%, 51%)
CMYKcmyk(0%, 80.8%, 10.8%, 49%)
CIE-LABlab(31.12, 52.55, -26.75)
CIE-LCHlch(31.12, 58.97, 333.02°)
OKLaboklab(42.88% 0.153 -0.0733)
OKLCHoklch(42.88% 0.17 334.4)
XYZxyz(12.7061, 6.7032, 17.1443)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821974 #198227
analogous
#5B1982 #821974 #82193F
triadic
#821974 #748219 #197482
tetradic
#821974 #825B19 #198227 #193F82
square
#821974 #825B19 #198227 #193F82
split-complementary
#821974 #3F8219 #19825B
monochromatic
#1B0518 #4F0F46 #821974 #B523A2 #D93CC4

Accessibility & contrast

On white

8.97
#821974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821974
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821974#FFFFFF#000000##FFFFFF
##8219741.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174076
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#892446
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821974;
/* rgb */ color: rgb(130, 25, 116);
/* oklch */ color: oklch(42.9% 0.170 334.4);
Tailwind
colors: {
  custom: {
    50: '#aa639c',
    500: '#821974',
    950: '#000000',
  },
}
SCSS
$custom: #821974;
$custom-light: #aa639c;
$custom-dark: #000000;
JSON
{
  "hex": "#821974",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 308,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.16962,
    "h": 334.4
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#821974
secondary
#41B650
accent
#EB543D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821974

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

Preview Lab → · Contrast checker → · Palette generator →

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