#822BD2#822BD2

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

Color values

HEX#822BD2
RGBrgb(130, 43, 210)
HSLhsl(271, 66%, 50%)
HSVhsv(271, 80%, 82%)
CMYKcmyk(38.1%, 79.5%, 0%, 17.6%)
CIE-LABlab(39.79, 65.11, -69.54)
CIE-LCHlch(39.79, 95.26, 313.11°)
OKLaboklab(51.08% 0.1237 -0.1986)
OKLCHoklch(51.08% 0.234 301.9)
XYZxyz(21.6998, 11.1266, 61.9647)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BD2 #7BD22B
analogous
#2E2BD2 #822BD2 #D22BCF
triadic
#822BD2 #D2822B #2BD282
tetradic
#822BD2 #D22E2B #7BD22B #2BCFD2
square
#822BD2 #D22E2B #7BD22B #2BCFD2
split-complementary
#822BD2 #CFD22B #2BD22E
monochromatic
#43166C #63219F #822BD2 #A05CDE #BE8FE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822BD2#FFFFFF#000000##FFFFFF
##822BD21.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)
#005DD6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#70597F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #822bd2;
/* rgb */ color: rgb(130, 43, 210);
/* oklch */ color: oklch(51.1% 0.234 301.9);
Tailwind
colors: {
  custom: {
    50: '#ae6fe1',
    500: '#822bd2',
    950: '#000000',
  },
}
SCSS
$custom: #822bd2;
$custom-light: #ae6fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#822bd2",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 210
  },
  "hsl": {
    "h": 271.257,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.23402,
    "h": 301.9
  },
  "luminance": 0.11127
}

Semantic roles & 50–950 ramp

primary
#822BD2
secondary
#ABD386
accent
#E93F90
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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