#822ED0#822ED0

#822ED0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.229 H 302.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#822ED0
RGBrgb(130, 46, 208)
HSLhsl(271, 64%, 50%)
HSVhsv(271, 78%, 82%)
CMYKcmyk(37.5%, 77.9%, 0%, 18.4%)
CIE-LABlab(40.00, 63.56, -68.04)
CIE-LCHlch(40.00, 93.11, 313.05°)
OKLaboklab(51.17% 0.122 -0.1943)
OKLCHoklch(51.17% 0.229 302.1)
XYZxyz(21.5653, 11.2538, 60.6983)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822ED0 #7CD02E
analogous
#312ED0 #822ED0 #D02ECD
triadic
#822ED0 #D0822E #2ED082
tetradic
#822ED0 #D0312E #7CD02E #2ECDD0
square
#822ED0 #D0312E #7CD02E #2ECDD0
split-complementary
#822ED0 #CDD02E #2ED031
monochromatic
#43186C #63239E #822ED0 #A05FDC #BE92E7

Accessibility & contrast

On white

6.46
#822ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#822ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822ED0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822ED0#FFFFFF#000000##FFFFFF
##822ED01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#71597F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #822ed0;
/* rgb */ color: rgb(130, 46, 208);
/* oklch */ color: oklch(51.2% 0.229 302.1);
Tailwind
colors: {
  custom: {
    50: '#ad71df',
    500: '#822ed0',
    950: '#000000',
  },
}
SCSS
$custom: #822ed0;
$custom-light: #ad71df;
$custom-dark: #000000;
JSON
{
  "hex": "#822ed0",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 271.111,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.22938,
    "h": 302.1
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#822ED0
secondary
#ACD288
accent
#E74191
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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