#822BB1#822BB1

#822BB1 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.203 H 310.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#822BB1
RGBrgb(130, 43, 177)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(26.6%, 75.7%, 0%, 30.6%)
CIE-LABlab(37.20, 57.83, -54.43)
CIE-LCHlch(37.20, 79.42, 316.73°)
OKLaboklab(48.46% 0.1316 -0.1542)
OKLCHoklch(48.46% 0.203 310.5)
XYZxyz(18.0041, 9.6483, 42.5003)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB1 #5AB12B
analogous
#3F2BB1 #822BB1 #B12B9D
triadic
#822BB1 #B1822B #2BB182
tetradic
#822BB1 #B13F2B #5AB12B #2B9DB1
square
#822BB1 #B13F2B #5AB12B #2B9DB1
split-complementary
#822BB1 #9DB12B #2BB13F
monochromatic
#3A134F #5E1F80 #822BB1 #A147D2 #BA78DE

Accessibility & contrast

On white

7.17
#822BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#822BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB1#FFFFFF#000000##FFFFFF
##822BB11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0859AE
Tritanopia (blue-blind)
#7C4B6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb1;
/* rgb */ color: rgb(130, 43, 177);
/* oklch */ color: oklch(48.5% 0.203 310.5);
Tailwind
colors: {
  custom: {
    50: '#ab6ec9',
    500: '#822bb1',
    950: '#000000',
  },
}
SCSS
$custom: #822bb1;
$custom-light: #ab6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb1",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 278.955,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.20274,
    "h": 310.5
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#822BB1
secondary
#8FC672
accent
#E4447C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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