#822BB3#822BB3

#822BB3 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.205 H 309.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#822BB3
RGBrgb(130, 43, 179)
HSLhsl(278, 61%, 44%)
HSVhsv(278, 76%, 70%)
CMYKcmyk(27.4%, 76%, 0%, 29.8%)
CIE-LABlab(37.35, 58.26, -55.38)
CIE-LCHlch(37.35, 80.38, 316.45°)
OKLaboklab(48.61% 0.1312 -0.157)
OKLCHoklch(48.61% 0.205 309.9)
XYZxyz(18.2049, 9.7286, 43.5579)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB3 #5CB32B
analogous
#3E2BB3 #822BB3 #B32BA0
triadic
#822BB3 #B3822B #2BB382
tetradic
#822BB3 #B33E2B #5CB32B #2BA0B3
square
#822BB3 #B33E2B #5CB32B #2BA0B3
split-complementary
#822BB3 #A0B32B #2BB33E
monochromatic
#3A1350 #5E1F82 #822BB3 #A148D3 #BA79DF

Accessibility & contrast

On white

7.13
#822BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#822BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB3#FFFFFF#000000##FFFFFF
##822BB31.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#7B4C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #822bb3;
/* rgb */ color: rgb(130, 43, 179);
/* oklch */ color: oklch(48.6% 0.205 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab6ecb',
    500: '#822bb3',
    950: '#000000',
  },
}
SCSS
$custom: #822bb3;
$custom-light: #ab6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb3",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 278.382,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.20463,
    "h": 309.9
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#822BB3
secondary
#91C773
accent
#E4437D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #822BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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