#822295#822295

#822295 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.187 H 320.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#822295
RGBrgb(130, 34, 149)
HSLhsl(290, 63%, 36%)
HSVhsv(290, 77%, 58%)
CMYKcmyk(12.8%, 77.2%, 0%, 41.6%)
CIE-LABlab(34.11, 55.42, -42.56)
CIE-LCHlch(34.11, 69.88, 322.48°)
OKLaboklab(45.65% 0.1439 -0.1193)
OKLCHoklch(45.65% 0.187 320.3)
XYZxyz(15.2021, 8.0606, 29.1830)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822295 #359522
analogous
#482295 #822295 #95226E
triadic
#822295 #958222 #229582
tetradic
#822295 #954822 #359522 #226E95
square
#822295 #954822 #359522 #226E95
split-complementary
#822295 #6E9522 #229548
monochromatic
#2B0B31 #571763 #822295 #AD2DC7 #C458D9

Accessibility & contrast

On white

8.04
#822295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#822295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822295
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822295#FFFFFF#000000##FFFFFF
##8222951.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#2E5392
Tritanopia (blue-blind)
#833A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822295;
/* rgb */ color: rgb(130, 34, 149);
/* oklch */ color: oklch(45.6% 0.187 320.3);
Tailwind
colors: {
  custom: {
    50: '#aa68b5',
    500: '#822295',
    950: '#000000',
  },
}
SCSS
$custom: #822295;
$custom-light: #aa68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822295",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 290.087,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.18696,
    "h": 320.3
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#822295
secondary
#67BD56
accent
#E6425D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822295

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

Preview Lab → · Contrast checker → · Palette generator →

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