#822296#822296

#822296 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.188 H 320.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#822296
RGBrgb(130, 34, 150)
HSLhsl(290, 63%, 36%)
HSVhsv(290, 77%, 59%)
CMYKcmyk(13.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(34.18, 55.61, -43.06)
CIE-LCHlch(34.18, 70.33, 322.25°)
OKLaboklab(45.72% 0.1438 -0.1208)
OKLCHoklch(45.72% 0.188 320)
XYZxyz(15.2823, 8.0927, 29.6053)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822296 #369622
analogous
#482296 #822296 #962270
triadic
#822296 #968222 #229682
tetradic
#822296 #964822 #369622 #227096
square
#822296 #964822 #369622 #227096
split-complementary
#822296 #709622 #229648
monochromatic
#2C0B32 #571764 #822296 #AD2DC8 #C359D9

Accessibility & contrast

On white

8.02
#822296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#822296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822296
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822296#FFFFFF#000000##FFFFFF
##8222961.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2D5493
Tritanopia (blue-blind)
#823A5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #822296;
/* rgb */ color: rgb(130, 34, 150);
/* oklch */ color: oklch(45.7% 0.188 320.0);
Tailwind
colors: {
  custom: {
    50: '#aa68b5',
    500: '#822296',
    950: '#000000',
  },
}
SCSS
$custom: #822296;
$custom-light: #aa68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#822296",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 289.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.18783,
    "h": 320
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#822296
secondary
#68BE56
accent
#E6425E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822296

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

Preview Lab → · Contrast checker → · Palette generator →

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