#822ECC#822ECC

#822ECC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.226 H 303.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#822ECC
RGBrgb(130, 46, 204)
HSLhsl(272, 63%, 49%)
HSVhsv(272, 77%, 80%)
CMYKcmyk(36.3%, 77.5%, 0%, 20%)
CIE-LABlab(39.68, 62.65, -66.25)
CIE-LCHlch(39.68, 91.19, 313.40°)
OKLaboklab(50.85% 0.123 -0.189)
OKLCHoklch(50.85% 0.226 303.1)
XYZxyz(21.0794, 11.0594, 58.1392)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822ECC #78CC2E
analogous
#332ECC #822ECC #CC2EC7
triadic
#822ECC #CC822E #2ECC82
tetradic
#822ECC #CC332E #78CC2E #2EC7CC
square
#822ECC #CC332E #78CC2E #2EC7CC
split-complementary
#822ECC #C7CC2E #2ECC33
monochromatic
#421768 #62239A #822ECC #A05DDA #BD8FE6

Accessibility & contrast

On white

6.54
#822ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#822ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822ECC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822ECC#FFFFFF#000000##FFFFFF
##822ECC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#73587D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822ecc;
/* rgb */ color: rgb(130, 46, 204);
/* oklch */ color: oklch(50.8% 0.226 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad70dd',
    500: '#822ecc',
    950: '#000000',
  },
}
SCSS
$custom: #822ecc;
$custom-light: #ad70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#822ecc",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 204
  },
  "hsl": {
    "h": 271.899,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.22552,
    "h": 303.1
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#822ECC
secondary
#A9D086
accent
#E6428F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822ECC

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

Preview Lab → · Contrast checker → · Palette generator →

#822ECC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva