#822087#822087

#822087 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 325.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#822087
RGBrgb(130, 32, 135)
HSLhsl(297, 62%, 33%)
HSVhsv(297, 76%, 53%)
CMYKcmyk(3.7%, 76.3%, 0%, 47.1%)
CIE-LABlab(32.98, 53.53, -35.73)
CIE-LCHlch(32.98, 64.36, 326.27°)
OKLaboklab(44.56% 0.1468 -0.0994)
OKLCHoklch(44.56% 0.177 325.9)
XYZxyz(14.0953, 7.5291, 23.6278)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822087 #258720
analogous
#4E2087 #822087 #872059
triadic
#822087 #878220 #208782
tetradic
#822087 #874E20 #258720 #205987
square
#822087 #874E20 #258720 #205987
split-complementary
#822087 #598720 #20874E
monochromatic
#230924 #521456 #822087 #B22CB8 #CE4DD5

Accessibility & contrast

On white

8.38
#822087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#822087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822087
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822087#FFFFFF#000000##FFFFFF
##8220871.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#853252
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #822087;
/* rgb */ color: rgb(130, 32, 135);
/* oklch */ color: oklch(44.6% 0.177 325.9);
Tailwind
colors: {
  custom: {
    50: '#aa67aa',
    500: '#822087',
    950: '#000000',
  },
}
SCSS
$custom: #822087;
$custom-light: #aa67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#822087",
  "rgb": {
    "r": 130,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 297.087,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.17727,
    "h": 325.9
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#822087
secondary
#50B84B
accent
#E5434B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #822087

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

Preview Lab → · Contrast checker → · Palette generator →

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