#822FCC#822FCC

#822FCC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.225 H 303.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#822FCC
RGBrgb(130, 47, 204)
HSLhsl(272, 63%, 49%)
HSVhsv(272, 77%, 80%)
CMYKcmyk(36.3%, 77%, 0%, 20%)
CIE-LABlab(39.81, 62.27, -66.04)
CIE-LCHlch(39.81, 90.77, 313.32°)
OKLaboklab(50.94% 0.1222 -0.1884)
OKLCHoklch(50.94% 0.225 303)
XYZxyz(21.1189, 11.1385, 58.1524)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FCC #79CC2F
analogous
#342FCC #822FCC #CC2FC8
triadic
#822FCC #CC822F #2FCC82
tetradic
#822FCC #CC342F #79CC2F #2FC8CC
square
#822FCC #CC342F #79CC2F #2FC8CC
split-complementary
#822FCC #C8CC2F #2FCC34
monochromatic
#431869 #62249A #822FCC #A05EDA #BD90E5

Accessibility & contrast

On white

6.51
#822FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#822FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FCC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FCC#FFFFFF#000000##FFFFFF
##822FCC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822fcc;
/* rgb */ color: rgb(130, 47, 204);
/* oklch */ color: oklch(50.9% 0.225 303.0);
Tailwind
colors: {
  custom: {
    50: '#ad71dd',
    500: '#822fcc',
    950: '#000000',
  },
}
SCSS
$custom: #822fcc;
$custom-light: #ad71dd;
$custom-dark: #000000;
JSON
{
  "hex": "#822fcc",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 271.72,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.22456,
    "h": 303
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #822FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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