#822892#822892

#822892 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.178 H 321.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#822892
RGBrgb(130, 40, 146)
HSLhsl(291, 57%, 36%)
HSVhsv(291, 73%, 57%)
CMYKcmyk(11%, 72.6%, 0%, 42.7%)
CIE-LABlab(34.68, 52.66, -39.80)
CIE-LCHlch(34.68, 66.01, 322.92°)
OKLaboklab(45.99% 0.1384 -0.1113)
OKLCHoklch(45.99% 0.178 321.2)
XYZxyz(15.1524, 8.3395, 28.0001)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822892 #389228
analogous
#4D2892 #822892 #92286D
triadic
#822892 #928228 #289282
tetradic
#822892 #924D28 #389228 #286D92
square
#822892 #924D28 #389228 #286D92
split-complementary
#822892 #6D9228 #28924D
monochromatic
#2C0E32 #571B62 #822892 #AD35C2 #C261D4

Accessibility & contrast

On white

7.87
#822892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822892
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822892#FFFFFF#000000##FFFFFF
##8228921.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#34558F
Tritanopia (blue-blind)
#833C5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822892;
/* rgb */ color: rgb(130, 40, 146);
/* oklch */ color: oklch(46.0% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#aa6bb2',
    500: '#822892',
    950: '#000000',
  },
}
SCSS
$custom: #822892;
$custom-light: #aa6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#822892",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 290.943,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.17757,
    "h": 321.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#822892
secondary
#6BB95D
accent
#E0485F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822892

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

Preview Lab → · Contrast checker → · Palette generator →

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