#7822B3#7822B3

#7822B3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.211 H 306.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7822B3
RGBrgb(120, 34, 179)
HSLhsl(276, 68%, 42%)
HSVhsv(276, 81%, 70%)
CMYKcmyk(33%, 81%, 0%, 29.8%)
CIE-LABlab(34.79, 59.75, -59.62)
CIE-LCHlch(34.79, 84.41, 315.06°)
OKLaboklab(46.51% 0.1249 -0.1698)
OKLCHoklch(46.51% 0.211 306.3)
XYZxyz(16.4526, 8.3920, 43.3922)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822B3 #5DB322
analogous
#2F22B3 #7822B3 #B322A6
triadic
#7822B3 #B37822 #22B378
tetradic
#7822B3 #B32F22 #5DB322 #22A6B3
square
#7822B3 #B32F22 #5DB322 #22A6B3
split-complementary
#7822B3 #A6B322 #22B32F
monochromatic
#330E4C #561880 #7822B3 #9839D9 #B36CE3

Accessibility & contrast

On white

7.84
#7822B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7822B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822B3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822B3#FFFFFF#000000##FFFFFF
##7822B31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#6D496C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7822b3;
/* rgb */ color: rgb(120, 34, 179);
/* oklch */ color: oklch(46.5% 0.211 306.3);
Tailwind
colors: {
  custom: {
    50: '#a569cb',
    500: '#7822b3',
    950: '#000000',
  },
}
SCSS
$custom: #7822b3;
$custom-light: #a569cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7822b3",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 275.586,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.21076,
    "h": 306.3
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#7822B3
secondary
#8FC968
accent
#EB3D84
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7822B3

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

Preview Lab → · Contrast checker → · Palette generator →

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