#822ED7#822ED7

#822ED7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.8% C 0.236 H 300.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#822ED7
RGBrgb(130, 46, 215)
HSLhsl(270, 68%, 51%)
HSVhsv(270, 79%, 84%)
CMYKcmyk(39.5%, 78.6%, 0%, 15.7%)
CIE-LABlab(40.58, 65.16, -71.13)
CIE-LCHlch(40.58, 96.47, 312.49°)
OKLaboklab(51.76% 0.1201 -0.2033)
OKLCHoklch(51.76% 0.236 300.6)
XYZxyz(22.4456, 11.6059, 65.3344)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822ED7 #83D72E
analogous
#2E2ED7 #822ED7 #D62ED7
triadic
#822ED7 #D7822E #2ED782
tetradic
#822ED7 #D72E2E #83D72E #2ED7D6
square
#822ED7 #D72E2E #83D72E #2ED7D6
split-complementary
#822ED7 #D7D62E #2ED72E
monochromatic
#451674 #6320A8 #822ED7 #A161E1 #BF95EB

Accessibility & contrast

On white

6.32
#822ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#822ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822ED7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822ED7#FFFFFF#000000##FFFFFF
##822ED71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDC
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#6E5C83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #822ed7;
/* rgb */ color: rgb(130, 46, 215);
/* oklch */ color: oklch(51.8% 0.236 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae71e4',
    500: '#822ed7',
    950: '#000000',
  },
}
SCSS
$custom: #822ed7;
$custom-light: #ae71e4;
$custom-dark: #000000;
JSON
{
  "hex": "#822ed7",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 269.822,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51755,
    "c": 0.23614,
    "h": 300.6
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#822ED7
secondary
#B1D68B
accent
#EB3D94
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #822ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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