#822173#822173

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

Color values

HEX#822173
RGBrgb(130, 33, 115)
HSLhsl(309, 60%, 32%)
HSVhsv(309, 75%, 51%)
CMYKcmyk(0%, 74.6%, 11.5%, 49%)
CIE-LABlab(31.97, 49.81, -24.78)
CIE-LCHlch(31.97, 55.64, 333.55°)
OKLaboklab(43.47% 0.1453 -0.0677)
OKLCHoklch(43.47% 0.16 335)
XYZxyz(12.8444, 7.0725, 16.9050)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822173 #218230
analogous
#612182 #822173 #822143
triadic
#822173 #738221 #217382
tetradic
#822173 #826121 #218230 #214382
square
#822173 #826121 #218230 #214382
split-complementary
#822173 #438221 #218261
monochromatic
#20081D #511548 #822173 #B32D9E #D24CBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822173#FFFFFF#000000##FFFFFF
##8221731.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)
#214275
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#892947
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822173;
/* rgb */ color: rgb(130, 33, 115);
/* oklch */ color: oklch(43.5% 0.160 335.0);
Tailwind
colors: {
  custom: {
    50: '#aa679b',
    500: '#822173',
    950: '#000000',
  },
}
SCSS
$custom: #822173;
$custom-light: #aa679b;
$custom-dark: #000000;
JSON
{
  "hex": "#822173",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 309.278,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.16027,
    "h": 335
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#822173
secondary
#4AB45B
accent
#E35D45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822173

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

Preview Lab → · Contrast checker → · Palette generator →

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