#822BBD#822BBD

#822BBD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.214 H 307.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#822BBD
RGBrgb(130, 43, 189)
HSLhsl(276, 63%, 45%)
HSVhsv(276, 77%, 74%)
CMYKcmyk(31.2%, 77.2%, 0%, 25.9%)
CIE-LABlab(38.11, 60.43, -60.06)
CIE-LCHlch(38.11, 85.20, 315.18°)
OKLaboklab(49.38% 0.1291 -0.1708)
OKLCHoklch(49.38% 0.214 307.1)
XYZxyz(19.2531, 10.1479, 49.0787)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BBD #66BD2B
analogous
#392BBD #822BBD #BD2BAF
triadic
#822BBD #BD822B #2BBD82
tetradic
#822BBD #BD392B #66BD2B #2BAFBD
square
#822BBD #BD392B #66BD2B #2BAFBD
split-complementary
#822BBD #AFBD2B #2BBD39
monochromatic
#3D1459 #60208B #822BBD #A04ED7 #BB80E2

Accessibility & contrast

On white

6.93
#822BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#822BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822BBD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BBD#FFFFFF#000000##FFFFFF
##822BBD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822bbd;
/* rgb */ color: rgb(130, 43, 189);
/* oklch */ color: oklch(49.4% 0.214 307.1);
Tailwind
colors: {
  custom: {
    50: '#ac6ed2',
    500: '#822bbd',
    950: '#000000',
  },
}
SCSS
$custom: #822bbd;
$custom-light: #ac6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#822bbd",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 275.753,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49376,
    "c": 0.2141,
    "h": 307.1
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#822BBD
secondary
#9ACB79
accent
#E64284
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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