#7822BD#7822BD

#7822BD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.220 H 303.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7822BD
RGBrgb(120, 34, 189)
HSLhsl(273, 70%, 44%)
HSVhsv(273, 82%, 74%)
CMYKcmyk(36.5%, 82%, 0%, 25.9%)
CIE-LABlab(35.62, 61.96, -64.18)
CIE-LCHlch(35.62, 89.21, 313.99°)
OKLaboklab(47.35% 0.122 -0.1832)
OKLCHoklch(47.35% 0.22 303.7)
XYZxyz(17.5009, 8.8113, 48.9130)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7822BD #67BD22
analogous
#2A22BD #7822BD #BD22B4
triadic
#7822BD #BD7822 #22BD78
tetradic
#7822BD #BD2A22 #67BD22 #22B4BD
square
#7822BD #BD2A22 #67BD22 #22B4BD
split-complementary
#7822BD #B4BD22 #22BD2A
monochromatic
#360F55 #571989 #7822BD #9740DD #B373E6

Accessibility & contrast

On white

7.60
#7822BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7822BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7822BD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7822BD#FFFFFF#000000##FFFFFF
##7822BD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#6A4E71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7822bd;
/* rgb */ color: rgb(120, 34, 189);
/* oklch */ color: oklch(47.3% 0.220 303.7);
Tailwind
colors: {
  custom: {
    50: '#a669d2',
    500: '#7822bd',
    950: '#000000',
  },
}
SCSS
$custom: #7822bd;
$custom-light: #a669d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7822bd",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 273.29,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.22008,
    "h": 303.7
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#7822BD
secondary
#98CD6E
accent
#EC3B8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7822BD

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

Preview Lab → · Contrast checker → · Palette generator →

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