#822DC2#822DC2

#822DC2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.217 H 305.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#822DC2
RGBrgb(130, 45, 194)
HSLhsl(274, 62%, 47%)
HSVhsv(274, 77%, 76%)
CMYKcmyk(33%, 76.8%, 0%, 23.9%)
CIE-LABlab(38.76, 60.78, -61.93)
CIE-LCHlch(38.76, 86.78, 314.46°)
OKLaboklab(49.95% 0.1263 -0.1763)
OKLCHoklch(49.95% 0.217 305.6)
XYZxyz(19.8797, 10.5178, 52.0113)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DC2 #6DC22D
analogous
#372DC2 #822DC2 #C22DB8
triadic
#822DC2 #C2822D #2DC282
tetradic
#822DC2 #C2372D #6DC22D #2DB8C2
square
#822DC2 #C2372D #6DC22D #2DB8C2
split-complementary
#822DC2 #B8C22D #2DC237
monochromatic
#3F165F #612190 #822DC2 #9F55D7 #BB86E3

Accessibility & contrast

On white

6.77
#822DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#822DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DC2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DC2#FFFFFF#000000##FFFFFF
##822DC21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#765377
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822dc2;
/* rgb */ color: rgb(130, 45, 194);
/* oklch */ color: oklch(50.0% 0.217 305.6);
Tailwind
colors: {
  custom: {
    50: '#ac6fd5',
    500: '#822dc2',
    950: '#000000',
  },
}
SCSS
$custom: #822dc2;
$custom-light: #ac6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#822dc2",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 274.228,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.21687,
    "h": 305.6
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#822DC2
secondary
#A0CD7E
accent
#E54288
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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