#822EBC#822EBC

#822EBC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.210 H 307.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#822EBC
RGBrgb(130, 46, 188)
HSLhsl(275, 61%, 46%)
HSVhsv(275, 76%, 74%)
CMYKcmyk(30.9%, 75.5%, 0%, 26.3%)
CIE-LABlab(38.43, 59.06, -58.95)
CIE-LCHlch(38.43, 83.44, 315.06°)
OKLaboklab(49.58% 0.1267 -0.1675)
OKLCHoklch(49.58% 0.21 307.1)
XYZxyz(19.2581, 10.3309, 48.5467)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EBC #68BC2E
analogous
#3B2EBC #822EBC #BC2EAF
triadic
#822EBC #BC822E #2EBC82
tetradic
#822EBC #BC3B2E #68BC2E #2EAFBC
square
#822EBC #BC3B2E #68BC2E #2EAFBC
split-complementary
#822EBC #AFBC2E #2EBC3B
monochromatic
#3E165A #60228B #822EBC #A052D5 #BB84E1

Accessibility & contrast

On white

6.85
#822EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#822EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EBC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EBC#FFFFFF#000000##FFFFFF
##822EBC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#785173
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #822ebc;
/* rgb */ color: rgb(130, 46, 188);
/* oklch */ color: oklch(49.6% 0.210 307.1);
Tailwind
colors: {
  custom: {
    50: '#ac70d1',
    500: '#822ebc',
    950: '#000000',
  },
}
SCSS
$custom: #822ebc;
$custom-light: #ac70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#822ebc",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 275.493,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.21007,
    "h": 307.1
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#822EBC
secondary
#9CCA7C
accent
#E44485
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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