#822DBC#822DBC

#822DBC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.211 H 307.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#822DBC
RGBrgb(130, 45, 188)
HSLhsl(276, 61%, 46%)
HSVhsv(276, 76%, 74%)
CMYKcmyk(30.9%, 76.1%, 0%, 26.3%)
CIE-LABlab(38.29, 59.45, -59.17)
CIE-LCHlch(38.29, 83.87, 315.14°)
OKLaboklab(49.48% 0.1276 -0.1682)
OKLCHoklch(49.48% 0.211 307.2)
XYZxyz(19.2195, 10.2537, 48.5339)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DBC #67BC2D
analogous
#3A2DBC #822DBC #BC2DAE
triadic
#822DBC #BC822D #2DBC82
tetradic
#822DBC #BC3A2D #67BC2D #2DAEBC
square
#822DBC #BC3A2D #67BC2D #2DAEBC
split-complementary
#822DBC #AEBC2D #2DBC3A
monochromatic
#3E1559 #60218B #822DBC #A051D5 #BB82E1

Accessibility & contrast

On white

6.88
#822DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#822DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DBC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DBC#FFFFFF#000000##FFFFFF
##822DBC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#785073
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822dbc;
/* rgb */ color: rgb(130, 45, 188);
/* oklch */ color: oklch(49.5% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac6fd1',
    500: '#822dbc',
    950: '#000000',
  },
}
SCSS
$custom: #822dbc;
$custom-light: #ac6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#822dbc",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 275.664,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.21111,
    "h": 307.2
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#822DBC
secondary
#9BCA7B
accent
#E44385
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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