#822EB7#822EB7

#822EB7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.205 H 308.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#822EB7
RGBrgb(130, 46, 183)
HSLhsl(277, 60%, 45%)
HSVhsv(277, 75%, 72%)
CMYKcmyk(29%, 74.9%, 0%, 28.2%)
CIE-LABlab(38.06, 57.96, -56.61)
CIE-LCHlch(38.06, 81.02, 315.68°)
OKLaboklab(49.2% 0.1277 -0.1607)
OKLCHoklch(49.2% 0.205 308.5)
XYZxyz(18.7284, 10.1190, 45.7571)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EB7 #63B72E
analogous
#3D2EB7 #822EB7 #B72EA8
triadic
#822EB7 #B7822E #2EB782
tetradic
#822EB7 #B73D2E #63B72E #2EA8B7
square
#822EB7 #B73D2E #63B72E #2EA8B7
split-complementary
#822EB7 #A8B72E #2EB73D
monochromatic
#3D1555 #5F2286 #822EB7 #A04FD3 #BA80DF

Accessibility & contrast

On white

6.94
#822EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#822EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EB7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EB7#FFFFFF#000000##FFFFFF
##822EB71.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#7A4F71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822eb7;
/* rgb */ color: rgb(130, 46, 183);
/* oklch */ color: oklch(49.2% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#ab6fcd',
    500: '#822eb7',
    950: '#000000',
  },
}
SCSS
$custom: #822eb7;
$custom-light: #ab6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#822eb7",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 276.788,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.20523,
    "h": 308.5
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#822EB7
secondary
#97C879
accent
#E34582
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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