#822FCA#822FCA

#822FCA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.223 H 303.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#822FCA
RGBrgb(130, 47, 202)
HSLhsl(272, 62%, 49%)
HSVhsv(272, 77%, 79%)
CMYKcmyk(35.6%, 76.7%, 0%, 20.8%)
CIE-LABlab(39.65, 61.81, -65.14)
CIE-LCHlch(39.65, 89.80, 313.50°)
OKLaboklab(50.78% 0.1227 -0.1857)
OKLCHoklch(50.78% 0.223 303.4)
XYZxyz(20.8806, 11.0431, 56.8972)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FCA #77CA2F
analogous
#352FCA #822FCA #CA2FC5
triadic
#822FCA #CA822F #2FCA82
tetradic
#822FCA #CA352F #77CA2F #2FC5CA
square
#822FCA #CA352F #77CA2F #2FC5CA
split-complementary
#822FCA #C5CA2F #2FCA35
monochromatic
#421867 #622398 #822FCA #A05DD9 #BD8FE5

Accessibility & contrast

On white

6.54
#822FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#822FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FCA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FCA#FFFFFF#000000##FFFFFF
##822FCA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#73577C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #822fca;
/* rgb */ color: rgb(130, 47, 202);
/* oklch */ color: oklch(50.8% 0.223 303.4);
Tailwind
colors: {
  custom: {
    50: '#ad71db',
    500: '#822fca',
    950: '#000000',
  },
}
SCSS
$custom: #822fca;
$custom-light: #ad71db;
$custom-dark: #000000;
JSON
{
  "hex": "#822fca",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 272.129,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.22261,
    "h": 303.4
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#822FCA
secondary
#A8CF86
accent
#E5428E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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