#821674#821674

#821674 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 334.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#821674
RGBrgb(130, 22, 116)
HSLhsl(308, 71%, 30%)
HSVhsv(308, 83%, 51%)
CMYKcmyk(0%, 83.1%, 10.8%, 49%)
CIE-LABlab(30.84, 53.38, -27.21)
CIE-LCHlch(30.84, 59.91, 332.99°)
OKLaboklab(42.67% 0.1554 -0.0746)
OKLCHoklch(42.67% 0.172 334.4)
XYZxyz(12.6454, 6.5818, 17.1240)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821674 #168224
analogous
#5A1682 #821674 #82163E
triadic
#821674 #748216 #167482
tetradic
#821674 #825A16 #168224 #163E82
square
#821674 #825A16 #168224 #163E82
split-complementary
#821674 #3E8216 #16825A
monochromatic
#1A0417 #4E0D45 #821674 #B61FA3 #DD35C7

Accessibility & contrast

On white

9.07
#821674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#821674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821674
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821674#FFFFFF#000000##FFFFFF
##8216741.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821674;
/* rgb */ color: rgb(130, 22, 116);
/* oklch */ color: oklch(42.7% 0.172 334.4);
Tailwind
colors: {
  custom: {
    50: '#aa629c',
    500: '#821674',
    950: '#000000',
  },
}
SCSS
$custom: #821674;
$custom-light: #aa629c;
$custom-dark: #000000;
JSON
{
  "hex": "#821674",
  "rgb": {
    "r": 130,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 307.778,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.17237,
    "h": 334.4
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#821674
secondary
#3DB74D
accent
#EE513A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821674

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

Preview Lab → · Contrast checker → · Palette generator →

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