#822175#822175

#822175 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.162 H 334.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#822175
RGBrgb(130, 33, 117)
HSLhsl(308, 60%, 32%)
HSVhsv(308, 75%, 51%)
CMYKcmyk(0%, 74.6%, 10%, 49%)
CIE-LABlab(32.08, 50.13, -25.89)
CIE-LCHlch(32.08, 56.42, 332.69°)
OKLaboklab(43.58% 0.1454 -0.0709)
OKLCHoklch(43.58% 0.162 334)
XYZxyz(12.9608, 7.1190, 17.5177)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822175 #21822E
analogous
#5F2182 #822175 #822145
triadic
#822175 #758221 #217582
tetradic
#822175 #825F21 #21822E #214582
square
#822175 #825F21 #21822E #214582
split-complementary
#822175 #458221 #21825F
monochromatic
#20081D #511549 #822175 #B32DA1 #D24CC0

Accessibility & contrast

On white

8.66
#822175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#822175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822175
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822175#FFFFFF#000000##FFFFFF
##8221751.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4277
Deuteranopia (green-blind)
#425073
Tritanopia (blue-blind)
#882A48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #822175;
/* rgb */ color: rgb(130, 33, 117);
/* oklch */ color: oklch(43.6% 0.162 334.0);
Tailwind
colors: {
  custom: {
    50: '#aa679d',
    500: '#822175',
    950: '#000000',
  },
}
SCSS
$custom: #822175;
$custom-light: #aa679d;
$custom-dark: #000000;
JSON
{
  "hex": "#822175",
  "rgb": {
    "r": 130,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 308.041,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.16179,
    "h": 334
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#822175
secondary
#4AB459
accent
#E35A45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822175

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

Preview Lab → · Contrast checker → · Palette generator →

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