#822DC8#822DC8

#822DC8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.223 H 304.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#822DC8
RGBrgb(130, 45, 200)
HSLhsl(273, 63%, 48%)
HSVhsv(273, 78%, 78%)
CMYKcmyk(35%, 77.5%, 0%, 21.6%)
CIE-LABlab(39.23, 62.12, -64.67)
CIE-LCHlch(39.23, 89.67, 313.85°)
OKLaboklab(50.43% 0.1248 -0.1843)
OKLCHoklch(50.43% 0.223 304.1)
XYZxyz(20.5672, 10.7928, 55.6321)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DC8 #73C82D
analogous
#342DC8 #822DC8 #C82DC0
triadic
#822DC8 #C8822D #2DC882
tetradic
#822DC8 #C8342D #73C82D #2DC0C8
square
#822DC8 #C8342D #73C82D #2DC0C8
split-complementary
#822DC8 #C0C82D #2DC834
monochromatic
#411764 #622296 #822DC8 #9F59DA #BC8BE5

Accessibility & contrast

On white

6.65
#822DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#822DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DC8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DC8#FFFFFF#000000##FFFFFF
##822DC81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822dc8;
/* rgb */ color: rgb(130, 45, 200);
/* oklch */ color: oklch(50.4% 0.223 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad70da',
    500: '#822dc8',
    950: '#000000',
  },
}
SCSS
$custom: #822dc8;
$custom-light: #ad70da;
$custom-dark: #000000;
JSON
{
  "hex": "#822dc8",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 272.903,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.22263,
    "h": 304.1
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#822DC8
secondary
#A5CF82
accent
#E6418C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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