#822897#822897

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

Color values

HEX#822897
RGBrgb(130, 40, 151)
HSLhsl(289, 58%, 37%)
HSVhsv(289, 74%, 59%)
CMYKcmyk(13.9%, 73.5%, 0%, 40.8%)
CIE-LABlab(35.00, 53.64, -42.35)
CIE-LCHlch(35.00, 68.34, 321.71°)
OKLaboklab(46.33% 0.138 -0.1188)
OKLCHoklch(46.33% 0.182 319.3)
XYZxyz(15.5499, 8.4985, 30.0935)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822897 #3D9728
analogous
#4B2897 #822897 #972874
triadic
#822897 #978228 #289782
tetradic
#822897 #974B28 #3D9728 #287497
square
#822897 #974B28 #3D9728 #287497
split-complementary
#822897 #749728 #28974B
monochromatic
#2F0E36 #581B67 #822897 #AC35C7 #C064D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822897#FFFFFF#000000##FFFFFF
##8228971.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)
#004C9A
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#823E5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822897;
/* rgb */ color: rgb(130, 40, 151);
/* oklch */ color: oklch(46.3% 0.182 319.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bb6',
    500: '#822897',
    950: '#000000',
  },
}
SCSS
$custom: #822897;
$custom-light: #aa6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#822897",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 288.649,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.18206,
    "h": 319.3
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#822897
secondary
#71BC5F
accent
#E14664
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822897

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

Preview Lab → · Contrast checker → · Palette generator →

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