#822FC3#822FC3

#822FC3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.216 H 305.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#822FC3
RGBrgb(130, 47, 195)
HSLhsl(274, 61%, 47%)
HSVhsv(274, 76%, 76%)
CMYKcmyk(33.3%, 75.9%, 0%, 23.5%)
CIE-LABlab(39.10, 60.23, -61.95)
CIE-LCHlch(39.10, 86.41, 314.19°)
OKLaboklab(50.22% 0.1243 -0.1764)
OKLCHoklch(50.22% 0.216 305.2)
XYZxyz(20.0705, 10.7191, 52.6308)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FC3 #70C32F
analogous
#382FC3 #822FC3 #C32FBA
triadic
#822FC3 #C3822F #2FC382
tetradic
#822FC3 #C3382F #70C32F #2FBAC3
square
#822FC3 #C3382F #70C32F #2FBAC3
split-complementary
#822FC3 #BAC32F #2FC338
monochromatic
#401760 #612392 #822FC3 #9F58D7 #BC8AE3

Accessibility & contrast

On white

6.68
#822FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#822FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FC3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FC3#FFFFFF#000000##FFFFFF
##822FC31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#765478
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #822fc3;
/* rgb */ color: rgb(130, 47, 195);
/* oklch */ color: oklch(50.2% 0.216 305.2);
Tailwind
colors: {
  custom: {
    50: '#ac70d6',
    500: '#822fc3',
    950: '#000000',
  },
}
SCSS
$custom: #822fc3;
$custom-light: #ac70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#822fc3",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 273.649,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.2158,
    "h": 305.2
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#822FC3
secondary
#A2CD81
accent
#E4448A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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