#822DB7#822DB7

#822DB7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.206 H 308.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#822DB7
RGBrgb(130, 45, 183)
HSLhsl(277, 61%, 45%)
HSVhsv(277, 75%, 72%)
CMYKcmyk(29%, 75.4%, 0%, 28.2%)
CIE-LABlab(37.92, 58.35, -56.83)
CIE-LCHlch(37.92, 81.45, 315.76°)
OKLaboklab(49.1% 0.1286 -0.1613)
OKLCHoklch(49.1% 0.206 308.6)
XYZxyz(18.6898, 10.0418, 45.7443)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB7 #62B72D
analogous
#3D2DB7 #822DB7 #B72DA7
triadic
#822DB7 #B7822D #2DB782
tetradic
#822DB7 #B73D2D #62B72D #2DA7B7
square
#822DB7 #B73D2D #62B72D #2DA7B7
split-complementary
#822DB7 #A7B72D #2DB73D
monochromatic
#3C1555 #5F2186 #822DB7 #A04ED3 #BA7FDF

Accessibility & contrast

On white

6.98
#822DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#822DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DB7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB7#FFFFFF#000000##FFFFFF
##822DB71.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#7A4E70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db7;
/* rgb */ color: rgb(130, 45, 183);
/* oklch */ color: oklch(49.1% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#ab6fcd',
    500: '#822db7',
    950: '#000000',
  },
}
SCSS
$custom: #822db7;
$custom-light: #ab6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#822db7",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 276.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.20631,
    "h": 308.6
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#822DB7
secondary
#97C878
accent
#E44481
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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