#822CCD#822CCD

#822CCD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.228 H 303.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#822CCD
RGBrgb(130, 44, 205)
HSLhsl(272, 65%, 49%)
HSVhsv(272, 79%, 80%)
CMYKcmyk(36.6%, 78.5%, 0%, 19.6%)
CIE-LABlab(39.50, 63.62, -67.12)
CIE-LCHlch(39.50, 92.48, 313.47°)
OKLaboklab(50.75% 0.1243 -0.1915)
OKLCHoklch(50.75% 0.228 303)
XYZxyz(21.1234, 10.9549, 58.7474)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CCD #77CD2C
analogous
#322CCD #822CCD #CD2CC8
triadic
#822CCD #CD822C #2CCD82
tetradic
#822CCD #CD322C #77CD2C #2CC8CD
square
#822CCD #CD322C #77CD2C #2CC8CD
split-complementary
#822CCD #C8CD2C #2CCD32
monochromatic
#421668 #62219B #822CCD #A05BDC #BD8DE7

Accessibility & contrast

On white

6.58
#822CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#822CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822CCD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CCD#FFFFFF#000000##FFFFFF
##822CCD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#72577D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822ccd;
/* rgb */ color: rgb(130, 44, 205);
/* oklch */ color: oklch(50.7% 0.228 303.0);
Tailwind
colors: {
  custom: {
    50: '#ad6fdd',
    500: '#822ccd',
    950: '#000000',
  },
}
SCSS
$custom: #822ccd;
$custom-light: #ad6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#822ccd",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 272.05,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.22837,
    "h": 303
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#822CCD
secondary
#A8D184
accent
#E8408E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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