#822EB2#822EB2

#822EB2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.200 H 309.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#822EB2
RGBrgb(130, 46, 178)
HSLhsl(278, 59%, 44%)
HSVhsv(278, 74%, 70%)
CMYKcmyk(27%, 74.2%, 0%, 30.2%)
CIE-LABlab(37.69, 56.87, -54.24)
CIE-LCHlch(37.69, 78.59, 316.35°)
OKLaboklab(48.82% 0.1286 -0.1537)
OKLCHoklch(48.82% 0.2 309.9)
XYZxyz(18.2172, 9.9146, 43.0649)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EB2 #5EB22E
analogous
#402EB2 #822EB2 #B22EA0
triadic
#822EB2 #B2822E #2EB282
tetradic
#822EB2 #B2402E #5EB22E #2EA0B2
square
#822EB2 #B2402E #5EB22E #2EA0B2
split-complementary
#822EB2 #A0B22E #2EB240
monochromatic
#3B1551 #5E2181 #822EB2 #A14CD1 #BA7DDD

Accessibility & contrast

On white

7.04
#822EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #822EB2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EB2#FFFFFF#000000##FFFFFF
##822EB21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0D5AAF
Tritanopia (blue-blind)
#7B4D6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822eb2;
/* rgb */ color: rgb(130, 46, 178);
/* oklch */ color: oklch(48.8% 0.200 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab6fca',
    500: '#822eb2',
    950: '#000000',
  },
}
SCSS
$custom: #822eb2;
$custom-light: #ab6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#822eb2",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 278.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48823,
    "c": 0.2004,
    "h": 309.9
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#822EB2
secondary
#93C676
accent
#E2467F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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