#822FCF#822FCF

#822FCF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.2% C 0.227 H 302.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#822FCF
RGBrgb(130, 47, 207)
HSLhsl(271, 63%, 50%)
HSVhsv(271, 77%, 81%)
CMYKcmyk(37.2%, 77.3%, 0%, 18.8%)
CIE-LABlab(40.05, 62.95, -67.38)
CIE-LCHlch(40.05, 92.21, 313.05°)
OKLaboklab(51.18% 0.1215 -0.1923)
OKLCHoklch(51.18% 0.227 302.3)
XYZxyz(21.4822, 11.2838, 60.0656)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FCF #7CCF2F
analogous
#322FCF #822FCF #CF2FCC
triadic
#822FCF #CF822F #2FCF82
tetradic
#822FCF #CF322F #7CCF2F #2FCCCF
square
#822FCF #CF322F #7CCF2F #2FCCCF
split-complementary
#822FCF #CCCF2F #2FCF32
monochromatic
#43186B #63249D #822FCF #A060DB #BE92E6

Accessibility & contrast

On white

6.45
#822FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#822FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FCF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FCF#FFFFFF#000000##FFFFFF
##822FCF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#71597E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #822fcf;
/* rgb */ color: rgb(130, 47, 207);
/* oklch */ color: oklch(51.2% 0.227 302.3);
Tailwind
colors: {
  custom: {
    50: '#ad71df',
    500: '#822fcf',
    950: '#000000',
  },
}
SCSS
$custom: #822fcf;
$custom-light: #ad71df;
$custom-dark: #000000;
JSON
{
  "hex": "#822fcf",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 271.125,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.22747,
    "h": 302.3
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #822FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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