#822CBD#822CBD

#822CBD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.213 H 307.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#822CBD
RGBrgb(130, 44, 189)
HSLhsl(276, 62%, 46%)
HSVhsv(276, 77%, 74%)
CMYKcmyk(31.2%, 76.7%, 0%, 25.9%)
CIE-LABlab(38.24, 60.05, -59.85)
CIE-LCHlch(38.24, 84.78, 315.10°)
OKLaboklab(49.47% 0.1283 -0.1702)
OKLCHoklch(49.47% 0.213 307)
XYZxyz(19.2899, 10.2215, 49.0910)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822CBD #67BD2C
analogous
#392CBD #822CBD #BD2CAF
triadic
#822CBD #BD822C #2CBD82
tetradic
#822CBD #BD392C #67BD2C #2CAFBD
square
#822CBD #BD392C #67BD2C #2CAFBD
split-complementary
#822CBD #AFBD2C #2CBD39
monochromatic
#3E155A #60208B #822CBD #A050D6 #BB82E2

Accessibility & contrast

On white

6.90
#822CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#822CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822CBD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822CBD#FFFFFF#000000##FFFFFF
##822CBD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#785074
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822cbd;
/* rgb */ color: rgb(130, 44, 189);
/* oklch */ color: oklch(49.5% 0.213 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fd2',
    500: '#822cbd',
    950: '#000000',
  },
}
SCSS
$custom: #822cbd;
$custom-light: #ac6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#822cbd",
  "rgb": {
    "r": 130,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 275.586,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.21309,
    "h": 307
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#822CBD
secondary
#9BCB7A
accent
#E54285
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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