#822DC3#822DC3

#822DC3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.218 H 305.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#822DC3
RGBrgb(130, 45, 195)
HSLhsl(274, 63%, 47%)
HSVhsv(274, 77%, 76%)
CMYKcmyk(33.3%, 76.9%, 0%, 23.5%)
CIE-LABlab(38.83, 61.00, -62.39)
CIE-LCHlch(38.83, 87.26, 314.35°)
OKLaboklab(50.03% 0.126 -0.1777)
OKLCHoklch(50.03% 0.218 305.4)
XYZxyz(19.9924, 10.5629, 52.6048)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822DC3 #6EC32D
analogous
#372DC3 #822DC3 #C32DB9
triadic
#822DC3 #C3822D #2DC382
tetradic
#822DC3 #C3372D #6EC32D #2DB9C3
square
#822DC3 #C3372D #6EC32D #2DB9C3
split-complementary
#822DC3 #B9C32D #2DC337
monochromatic
#401660 #612291 #822DC3 #9F55D8 #BB87E3

Accessibility & contrast

On white

6.75
#822DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#822DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822DC3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822DC3#FFFFFF#000000##FFFFFF
##822DC31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #822dc3;
/* rgb */ color: rgb(130, 45, 195);
/* oklch */ color: oklch(50.0% 0.218 305.4);
Tailwind
colors: {
  custom: {
    50: '#ac6fd6',
    500: '#822dc3',
    950: '#000000',
  },
}
SCSS
$custom: #822dc3;
$custom-light: #ac6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#822dc3",
  "rgb": {
    "r": 130,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 274,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.21783,
    "h": 305.4
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#822DC3
secondary
#A1CD7F
accent
#E64289
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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