#822896#822896

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

Color values

HEX#822896
RGBrgb(130, 40, 150)
HSLhsl(289, 58%, 37%)
HSVhsv(289, 73%, 59%)
CMYKcmyk(13.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(34.94, 53.44, -41.84)
CIE-LCHlch(34.94, 67.87, 321.94°)
OKLaboklab(46.26% 0.1381 -0.1173)
OKLCHoklch(46.26% 0.181 319.7)
XYZxyz(15.4690, 8.4662, 29.6676)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822896 #3C9628
analogous
#4B2896 #822896 #962873
triadic
#822896 #968228 #289682
tetradic
#822896 #964B28 #3C9628 #287396
square
#822896 #964B28 #3C9628 #287396
split-complementary
#822896 #739628 #28964B
monochromatic
#2E0E35 #581B66 #822896 #AC35C6 #C163D5

Accessibility & contrast

On white

7.80
#822896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#822896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822896
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822896#FFFFFF#000000##FFFFFF
##8228961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#823D5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822896;
/* rgb */ color: rgb(130, 40, 150);
/* oklch */ color: oklch(46.3% 0.181 319.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bb5',
    500: '#822896',
    950: '#000000',
  },
}
SCSS
$custom: #822896;
$custom-light: #aa6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822896",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 289.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.18116,
    "h": 319.7
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#822896
secondary
#6FBB5F
accent
#E14763
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822896

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

Preview Lab → · Contrast checker → · Palette generator →

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