#822285#822285

#822285 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.173 H 326.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#822285
RGBrgb(130, 34, 133)
HSLhsl(298, 59%, 33%)
HSVhsv(298, 74%, 52%)
CMYKcmyk(2.3%, 74.4%, 0%, 47.8%)
CIE-LABlab(33.10, 52.48, -34.30)
CIE-LCHlch(33.10, 62.70, 326.83°)
OKLaboklab(44.61% 0.1449 -0.0952)
OKLCHoklch(44.61% 0.173 326.7)
XYZxyz(14.0113, 7.5843, 22.9117)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822285 #258522
analogous
#512285 #822285 #852256
triadic
#822285 #858222 #228582
tetradic
#822285 #855122 #258522 #225685
square
#822285 #855122 #258522 #225685
split-complementary
#822285 #568522 #228551
monochromatic
#230924 #521654 #822285 #B22EB6 #CE4FD2

Accessibility & contrast

On white

8.34
#822285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#822285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822285
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822285#FFFFFF#000000##FFFFFF
##8222851.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094688
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#863252
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822285;
/* rgb */ color: rgb(130, 34, 133);
/* oklch */ color: oklch(44.6% 0.173 326.7);
Tailwind
colors: {
  custom: {
    50: '#aa68a9',
    500: '#822285',
    950: '#000000',
  },
}
SCSS
$custom: #822285;
$custom-light: #aa68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#822285",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 298.182,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.17342,
    "h": 326.7
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#822285
secondary
#50B64D
accent
#E2454A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822285

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

Preview Lab → · Contrast checker → · Palette generator →

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