#7922AA#7922AA

#7922AA is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.203 H 309.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7922AA
RGBrgb(121, 34, 170)
HSLhsl(278, 67%, 40%)
HSVhsv(278, 80%, 67%)
CMYKcmyk(28.8%, 80%, 0%, 33.3%)
CIE-LABlab(34.21, 57.97, -55.17)
CIE-LCHlch(34.21, 80.02, 316.42°)
OKLaboklab(45.92% 0.1286 -0.1567)
OKLCHoklch(45.92% 0.203 309.4)
XYZxyz(15.7114, 8.1116, 38.7604)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922AA #53AA22
analogous
#3522AA #7922AA #AA2297
triadic
#7922AA #AA7922 #22AA79
tetradic
#7922AA #AA3522 #53AA22 #2297AA
square
#7922AA #AA3522 #53AA22 #2297AA
split-complementary
#7922AA #97AA22 #22AA35
monochromatic
#300E44 #551877 #7922AA #9B33D6 #B466E0

Accessibility & contrast

On white

8.01
#7922AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7922AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7922AA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7922AA#FFFFFF#000000##FFFFFF
##7922AA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#724566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7922aa;
/* rgb */ color: rgb(121, 34, 170);
/* oklch */ color: oklch(45.9% 0.203 309.4);
Tailwind
colors: {
  custom: {
    50: '#a568c4',
    500: '#7922aa',
    950: '#000000',
  },
}
SCSS
$custom: #7922aa;
$custom-light: #a568c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7922aa",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 278.382,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.20267,
    "h": 309.4
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#7922AA
secondary
#86C662
accent
#EA3E7C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7922AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7922AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva