#822BB0#822BB0

#822BB0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 310.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#822BB0
RGBrgb(130, 43, 176)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(26.1%, 75.6%, 0%, 31%)
CIE-LABlab(37.13, 57.61, -53.96)
CIE-LCHlch(37.13, 78.94, 316.88°)
OKLaboklab(48.38% 0.1318 -0.1529)
OKLCHoklch(48.38% 0.202 310.8)
XYZxyz(17.9048, 9.6086, 41.9773)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB0 #59B02B
analogous
#3F2BB0 #822BB0 #B02B9B
triadic
#822BB0 #B0822B #2BB082
tetradic
#822BB0 #B03F2B #59B02B #2B9BB0
square
#822BB0 #B03F2B #59B02B #2B9BB0
split-complementary
#822BB0 #9BB02B #2BB03F
monochromatic
#39134E #5E1F7F #822BB0 #A246D2 #BA78DE

Accessibility & contrast

On white

7.19
#822BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#822BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB0#FFFFFF#000000##FFFFFF
##822BB01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0C59AD
Tritanopia (blue-blind)
#7C4A6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #822bb0;
/* rgb */ color: rgb(130, 43, 176);
/* oklch */ color: oklch(48.4% 0.202 310.8);
Tailwind
colors: {
  custom: {
    50: '#ab6ec8',
    500: '#822bb0',
    950: '#000000',
  },
}
SCSS
$custom: #822bb0;
$custom-light: #ab6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb0",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 279.248,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.20179,
    "h": 310.8
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#822BB0
secondary
#8EC671
accent
#E4447B
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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