#822682#822682

#822682 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.166 H 327.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#822682
RGBrgb(130, 38, 130)
HSLhsl(300, 55%, 33%)
HSVhsv(300, 71%, 51%)
CMYKcmyk(0%, 70.8%, 0%, 49%)
CIE-LABlab(33.45, 50.48, -31.89)
CIE-LCHlch(33.45, 59.71, 327.72°)
OKLaboklab(44.8% 0.1408 -0.0882)
OKLCHoklch(44.8% 0.166 327.9)
XYZxyz(13.9281, 7.7447, 21.8761)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822682 #268226
analogous
#542682 #822682 #822654
triadic
#822682 #828226 #268282
tetradic
#822682 #825426 #268226 #265482
square
#822682 #825426 #268226 #265482
split-complementary
#822682 #548226 #268254
monochromatic
#230A23 #531853 #822682 #B134B1 #CD55CD

Accessibility & contrast

On white

8.24
#822682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#822682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822682
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822682#FFFFFF#000000##FFFFFF
##8226821.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#863351
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #822682;
/* rgb */ color: rgb(130, 38, 130);
/* oklch */ color: oklch(44.8% 0.166 327.9);
Tailwind
colors: {
  custom: {
    50: '#a969a7',
    500: '#822682',
    950: '#000000',
  },
}
SCSS
$custom: #822682;
$custom-light: #a969a7;
$custom-dark: #000000;
JSON
{
  "hex": "#822682",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 300,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.16614,
    "h": 327.9
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#822682
secondary
#52B252
accent
#DE4A4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #822682

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

Preview Lab → · Contrast checker → · Palette generator →

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