#7922AC#7922AC

#7922AC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.205 H 308.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7922AC
RGBrgb(121, 34, 172)
HSLhsl(278, 67%, 40%)
HSVhsv(278, 80%, 67%)
CMYKcmyk(29.7%, 80.2%, 0%, 32.5%)
CIE-LABlab(34.37, 58.40, -56.11)
CIE-LCHlch(34.37, 80.99, 316.14°)
OKLaboklab(46.08% 0.1281 -0.1594)
OKLCHoklch(46.08% 0.205 308.8)
XYZxyz(15.9020, 8.1878, 39.7644)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922AC #55AC22
analogous
#3422AC #7922AC #AC229A
triadic
#7922AC #AC7922 #22AC79
tetradic
#7922AC #AC3422 #55AC22 #229AAC
square
#7922AC #AC3422 #55AC22 #229AAC
split-complementary
#7922AC #9AAC22 #22AC34
monochromatic
#310E46 #551879 #7922AC #9B34D7 #B467E1

Accessibility & contrast

On white

7.96
#7922AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7922AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7922AC#FFFFFF#000000##FFFFFF
##7922AC1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#714668
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7922ac;
/* rgb */ color: rgb(121, 34, 172);
/* oklch */ color: oklch(46.1% 0.205 308.8);
Tailwind
colors: {
  custom: {
    50: '#a568c6',
    500: '#7922ac',
    950: '#000000',
  },
}
SCSS
$custom: #7922ac;
$custom-light: #a568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7922ac",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 277.826,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.20452,
    "h": 308.8
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#7922AC
secondary
#88C763
accent
#EA3E7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7922AC

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

Preview Lab → · Contrast checker → · Palette generator →

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