#822995#822995

#822995 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.179 H 320.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#822995
RGBrgb(130, 41, 149)
HSLhsl(289, 57%, 37%)
HSVhsv(289, 72%, 58%)
CMYKcmyk(12.8%, 72.5%, 0%, 41.6%)
CIE-LABlab(35.01, 52.86, -41.11)
CIE-LCHlch(35.01, 66.96, 322.12°)
OKLaboklab(46.29% 0.1371 -0.1152)
OKLCHoklch(46.29% 0.179 320)
XYZxyz(15.4230, 8.5024, 29.2567)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822995 #3C9529
analogous
#4C2995 #822995 #952972
triadic
#822995 #958229 #299582
tetradic
#822995 #954C29 #3C9529 #297295
square
#822995 #954C29 #3C9529 #297295
split-complementary
#822995 #729529 #29954C
monochromatic
#2E0F35 #581C65 #822995 #AC36C5 #C164D4

Accessibility & contrast

On white

7.78
#822995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#822995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822995
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822995#FFFFFF#000000##FFFFFF
##8229951.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#823E5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822995;
/* rgb */ color: rgb(130, 41, 149);
/* oklch */ color: oklch(46.3% 0.179 320.0);
Tailwind
colors: {
  custom: {
    50: '#aa6bb5',
    500: '#822995',
    950: '#000000',
  },
}
SCSS
$custom: #822995;
$custom-light: #aa6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822995",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 289.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.17906,
    "h": 320
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#822995
secondary
#6FBA60
accent
#E04863
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822995

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

Preview Lab → · Contrast checker → · Palette generator →

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