#822EBB#822EBB

#822EBB is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.209 H 307.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#822EBB
RGBrgb(130, 46, 187)
HSLhsl(276, 61%, 46%)
HSVhsv(276, 75%, 73%)
CMYKcmyk(30.5%, 75.4%, 0%, 26.7%)
CIE-LABlab(38.35, 58.84, -58.48)
CIE-LCHlch(38.35, 82.96, 315.17°)
OKLaboklab(49.5% 0.1269 -0.1662)
OKLCHoklch(49.5% 0.209 307.4)
XYZxyz(19.1506, 10.2879, 47.9810)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EBB #67BB2E
analogous
#3C2EBB #822EBB #BB2EAD
triadic
#822EBB #BB822E #2EBB82
tetradic
#822EBB #BB3C2E #67BB2E #2EADBB
square
#822EBB #BB3C2E #67BB2E #2EADBB
split-complementary
#822EBB #ADBB2E #2EBB3C
monochromatic
#3E1659 #60228A #822EBB #A052D4 #BB83E0

Accessibility & contrast

On white

6.87
#822EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#822EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EBB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EBB#FFFFFF#000000##FFFFFF
##822EBB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#785173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822ebb;
/* rgb */ color: rgb(130, 46, 187);
/* oklch */ color: oklch(49.5% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#ac70d0',
    500: '#822ebb',
    950: '#000000',
  },
}
SCSS
$custom: #822ebb;
$custom-light: #ac70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#822ebb",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 275.745,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.2091,
    "h": 307.4
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#822EBB
secondary
#9BCA7B
accent
#E44485
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #822EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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