#7822C1#7822C1

#7822C1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.224 H 302.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7822C1
RGBrgb(120, 34, 193)
HSLhsl(272, 70%, 45%)
HSVhsv(272, 82%, 76%)
CMYKcmyk(37.8%, 82.4%, 0%, 24.3%)
CIE-LABlab(35.96, 62.85, -65.97)
CIE-LCHlch(35.96, 91.12, 313.61°)
OKLaboklab(47.69% 0.1208 -0.1884)
OKLCHoklch(47.69% 0.224 302.7)
XYZxyz(17.9411, 8.9873, 51.2313)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822C1 #6BC122
analogous
#2922C1 #7822C1 #C122BB
triadic
#7822C1 #C17822 #22C178
tetradic
#7822C1 #C12922 #6BC122 #22BBC1
square
#7822C1 #C12922 #6BC122 #22BBC1
split-complementary
#7822C1 #BBC122 #22C129
monochromatic
#371059 #58198D #7822C1 #9642DE #B376E7

Accessibility & contrast

On white

7.51
#7822C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7822C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822C1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822C1#FFFFFF#000000##FFFFFF
##7822C11.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#684F74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7822c1;
/* rgb */ color: rgb(120, 34, 193);
/* oklch */ color: oklch(47.7% 0.224 302.7);
Tailwind
colors: {
  custom: {
    50: '#a669d5',
    500: '#7822c1',
    950: '#000000',
  },
}
SCSS
$custom: #7822c1;
$custom-light: #a669d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7822c1",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 272.453,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.22381,
    "h": 302.7
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#7822C1
secondary
#9CCE71
accent
#ED3B8D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7822C1

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

Preview Lab → · Contrast checker → · Palette generator →

#7822C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva