#822DB3#822DB3

#822DB3 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.202 H 309.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#822DB3
RGBrgb(130, 45, 179)
HSLhsl(278, 60%, 44%)
HSVhsv(278, 75%, 70%)
CMYKcmyk(27.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(37.62, 57.48, -54.94)
CIE-LCHlch(37.62, 79.52, 316.29°)
OKLaboklab(48.8% 0.1294 -0.1558)
OKLCHoklch(48.8% 0.202 309.7)
XYZxyz(18.2794, 9.8776, 43.5827)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DB3 #5EB32D
analogous
#3F2DB3 #822DB3 #B32DA1
triadic
#822DB3 #B3822D #2DB382
tetradic
#822DB3 #B33F2D #5EB32D #2DA1B3
square
#822DB3 #B33F2D #5EB32D #2DA1B3
split-complementary
#822DB3 #A1B32D #2DB33F
monochromatic
#3B1451 #5E2182 #822DB3 #A14BD2 #BA7CDE

Accessibility & contrast

On white

7.06
#822DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#822DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822DB3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DB3#FFFFFF#000000##FFFFFF
##822DB31.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#065AB0
Tritanopia (blue-blind)
#7B4D6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822db3;
/* rgb */ color: rgb(130, 45, 179);
/* oklch */ color: oklch(48.8% 0.202 309.7);
Tailwind
colors: {
  custom: {
    50: '#ab6fcb',
    500: '#822db3',
    950: '#000000',
  },
}
SCSS
$custom: #822db3;
$custom-light: #ab6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#822db3",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 278.06,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.20247,
    "h": 309.7
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#822DB3
secondary
#93C775
accent
#E3457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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