#822EC8#822EC8

#822EC8 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.222 H 304.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#822EC8
RGBrgb(130, 46, 200)
HSLhsl(273, 63%, 48%)
HSVhsv(273, 77%, 78%)
CMYKcmyk(35%, 77%, 0%, 21.6%)
CIE-LABlab(39.36, 61.74, -64.45)
CIE-LCHlch(39.36, 89.25, 313.77°)
OKLaboklab(50.52% 0.124 -0.1837)
OKLCHoklch(50.52% 0.222 304)
XYZxyz(20.6058, 10.8700, 55.6449)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EC8 #74C82E
analogous
#352EC8 #822EC8 #C82EC1
triadic
#822EC8 #C8822E #2EC882
tetradic
#822EC8 #C8352E #74C82E #2EC1C8
square
#822EC8 #C8352E #74C82E #2EC1C8
split-complementary
#822EC8 #C1C82E #2EC835
monochromatic
#411764 #622396 #822EC8 #9F5AD9 #BC8CE5

Accessibility & contrast

On white

6.62
#822EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#822EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EC8
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EC8#FFFFFF#000000##FFFFFF
##822EC81.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#74567A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822ec8;
/* rgb */ color: rgb(130, 46, 200);
/* oklch */ color: oklch(50.5% 0.222 304.0);
Tailwind
colors: {
  custom: {
    50: '#ad70da',
    500: '#822ec8',
    950: '#000000',
  },
}
SCSS
$custom: #822ec8;
$custom-light: #ad70da;
$custom-dark: #000000;
JSON
{
  "hex": "#822ec8",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 272.727,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.22166,
    "h": 304
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#822EC8
secondary
#A5CF83
accent
#E6428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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