#822BB7#822BB7

#822BB7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.208 H 308.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#822BB7
RGBrgb(130, 43, 183)
HSLhsl(277, 62%, 44%)
HSVhsv(277, 77%, 72%)
CMYKcmyk(29%, 76.5%, 0%, 28.2%)
CIE-LABlab(37.65, 59.12, -57.27)
CIE-LCHlch(37.65, 82.31, 315.91°)
OKLaboklab(48.91% 0.1304 -0.1626)
OKLCHoklch(48.91% 0.208 308.7)
XYZxyz(18.6153, 9.8928, 45.7194)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822BB7 #60B72B
analogous
#3C2BB7 #822BB7 #B72BA6
triadic
#822BB7 #B7822B #2BB782
tetradic
#822BB7 #B73C2B #60B72B #2BA6B7
square
#822BB7 #B73C2B #60B72B #2BA6B7
split-complementary
#822BB7 #A6B72B #2BB73C
monochromatic
#3C1454 #5F1F85 #822BB7 #A04BD5 #BA7CE0

Accessibility & contrast

On white

7.05
#822BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#822BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822BB7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822BB7#FFFFFF#000000##FFFFFF
##822BB71.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#7A4D70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822bb7;
/* rgb */ color: rgb(130, 43, 183);
/* oklch */ color: oklch(48.9% 0.208 308.7);
Tailwind
colors: {
  custom: {
    50: '#ab6ecd',
    500: '#822bb7',
    950: '#000000',
  },
}
SCSS
$custom: #822bb7;
$custom-light: #ab6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#822bb7",
  "rgb": {
    "r": 130,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 277.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48912,
    "c": 0.20841,
    "h": 308.7
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#822BB7
secondary
#95C975
accent
#E54380
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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