#822FD0#822FD0

#822FD0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.228 H 302.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#822FD0
RGBrgb(130, 47, 208)
HSLhsl(271, 63%, 50%)
HSVhsv(271, 77%, 82%)
CMYKcmyk(37.5%, 77.4%, 0%, 18.4%)
CIE-LABlab(40.14, 63.18, -67.83)
CIE-LCHlch(40.14, 92.70, 312.97°)
OKLaboklab(51.27% 0.1212 -0.1936)
OKLCHoklch(51.27% 0.228 302)
XYZxyz(21.6049, 11.3328, 60.7115)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FD0 #7DD02F
analogous
#322FD0 #822FD0 #D02FCD
triadic
#822FD0 #D0822F #2FD082
tetradic
#822FD0 #D0322F #7DD02F #2FCDD0
square
#822FD0 #D0322F #7DD02F #2FCDD0
split-complementary
#822FD0 #CDD02F #2FD032
monochromatic
#44186C #63249E #822FD0 #A061DB #BE93E7

Accessibility & contrast

On white

6.43
#822FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#822FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FD0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FD0#FFFFFF#000000##FFFFFF
##822FD01.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#715A7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #822fd0;
/* rgb */ color: rgb(130, 47, 208);
/* oklch */ color: oklch(51.3% 0.228 302.0);
Tailwind
colors: {
  custom: {
    50: '#ad71df',
    500: '#822fd0',
    950: '#000000',
  },
}
SCSS
$custom: #822fd0;
$custom-light: #ad71df;
$custom-dark: #000000;
JSON
{
  "hex": "#822fd0",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 270.932,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.22844,
    "h": 302
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#822FD0
secondary
#ACD189
accent
#E64291
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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