#822795#822795

#822795 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 320.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#822795
RGBrgb(130, 39, 149)
HSLhsl(290, 59%, 37%)
HSVhsv(290, 74%, 58%)
CMYKcmyk(12.8%, 73.8%, 0%, 41.6%)
CIE-LABlab(34.74, 53.63, -41.55)
CIE-LCHlch(34.74, 67.84, 322.23°)
OKLaboklab(46.1% 0.1392 -0.1164)
OKLCHoklch(46.1% 0.181 320.1)
XYZxyz(15.3556, 8.3676, 29.2342)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822795 #3A9527
analogous
#4B2795 #822795 #952771
triadic
#822795 #958227 #279582
tetradic
#822795 #954B27 #3A9527 #277195
square
#822795 #954B27 #3A9527 #277195
split-complementary
#822795 #719527 #27954B
monochromatic
#2D0E34 #581A64 #822795 #AC34C6 #C161D6

Accessibility & contrast

On white

7.86
#822795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#822795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822795
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822795#FFFFFF#000000##FFFFFF
##8227951.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822795;
/* rgb */ color: rgb(130, 39, 149);
/* oklch */ color: oklch(46.1% 0.181 320.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bb5',
    500: '#822795',
    950: '#000000',
  },
}
SCSS
$custom: #822795;
$custom-light: #aa6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822795",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 289.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.18144,
    "h": 320.1
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#822795
secondary
#6DBB5D
accent
#E24661
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822795

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

Preview Lab → · Contrast checker → · Palette generator →

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