#822BB8#822BB8

#822BB8 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.209 H 308.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#822BB8
RGBrgb(130, 43, 184)
HSLhsl(277, 62%, 45%)
HSVhsv(277, 77%, 72%)
CMYKcmyk(29.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(37.72, 59.34, -57.73)
CIE-LCHlch(37.72, 82.79, 315.78°)
OKLaboklab(48.99% 0.1302 -0.164)
OKLCHoklch(48.99% 0.209 308.5)
XYZxyz(18.7197, 9.9346, 46.2695)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB8 #61B82B
analogous
#3B2BB8 #822BB8 #B82BA8
triadic
#822BB8 #B8822B #2BB882
tetradic
#822BB8 #B83B2B #61B82B #2BA8B8
square
#822BB8 #B83B2B #61B82B #2BA8B8
split-complementary
#822BB8 #A8B82B #2BB83B
monochromatic
#3C1455 #5F1F86 #822BB8 #A04BD5 #BA7DE1

Accessibility & contrast

On white

7.03
#822BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#822BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB8#FFFFFF#000000##FFFFFF
##822BB81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#794E70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822bb8;
/* rgb */ color: rgb(130, 43, 184);
/* oklch */ color: oklch(49.0% 0.209 308.5);
Tailwind
colors: {
  custom: {
    50: '#ab6ece',
    500: '#822bb8',
    950: '#000000',
  },
}
SCSS
$custom: #822bb8;
$custom-light: #ab6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb8",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 277.021,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.20936,
    "h": 308.5
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#822BB8
secondary
#96C976
accent
#E54381
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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