#822895#822895

#822895 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.180 H 320.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#822895
RGBrgb(130, 40, 149)
HSLhsl(290, 58%, 37%)
HSVhsv(290, 73%, 58%)
CMYKcmyk(12.8%, 73.2%, 0%, 41.6%)
CIE-LABlab(34.87, 53.24, -41.33)
CIE-LCHlch(34.87, 67.40, 322.18°)
OKLaboklab(46.19% 0.1382 -0.1158)
OKLCHoklch(46.19% 0.18 320)
XYZxyz(15.3889, 8.4341, 29.2453)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822895 #3B9528
analogous
#4B2895 #822895 #952872
triadic
#822895 #958228 #289582
tetradic
#822895 #954B28 #3B9528 #287295
square
#822895 #954B28 #3B9528 #287295
split-complementary
#822895 #729528 #28954B
monochromatic
#2E0E35 #581B65 #822895 #AC35C5 #C162D5

Accessibility & contrast

On white

7.82
#822895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822895
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822895#FFFFFF#000000##FFFFFF
##8228951.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#325592
Tritanopia (blue-blind)
#823D5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #822895;
/* rgb */ color: rgb(130, 40, 149);
/* oklch */ color: oklch(46.2% 0.180 320.0);
Tailwind
colors: {
  custom: {
    50: '#aa6bb5',
    500: '#822895',
    950: '#000000',
  },
}
SCSS
$custom: #822895;
$custom-light: #aa6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#822895",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 289.541,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.18026,
    "h": 320
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#822895
secondary
#6EBB5E
accent
#E14762
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #822895

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

Preview Lab → · Contrast checker → · Palette generator →

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