#7922AB#7922AB

#7922AB is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.204 H 309.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7922AB
RGBrgb(121, 34, 171)
HSLhsl(278, 67%, 40%)
HSVhsv(278, 80%, 67%)
CMYKcmyk(29.2%, 80.1%, 0%, 32.9%)
CIE-LABlab(34.29, 58.18, -55.64)
CIE-LCHlch(34.29, 80.50, 316.28°)
OKLaboklab(46% 0.1283 -0.158)
OKLCHoklch(46% 0.204 309.1)
XYZxyz(15.8064, 8.1496, 39.2605)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922AB #54AB22
analogous
#3422AB #7922AB #AB2298
triadic
#7922AB #AB7922 #22AB79
tetradic
#7922AB #AB3422 #54AB22 #2298AB
square
#7922AB #AB3422 #54AB22 #2298AB
split-complementary
#7922AB #98AB22 #22AB34
monochromatic
#310E45 #551878 #7922AB #9B34D7 #B467E1

Accessibility & contrast

On white

7.99
#7922AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7922AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7922AB#FFFFFF#000000##FFFFFF
##7922AB1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#714567
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7922ab;
/* rgb */ color: rgb(121, 34, 171);
/* oklch */ color: oklch(46.0% 0.204 309.1);
Tailwind
colors: {
  custom: {
    50: '#a568c5',
    500: '#7922ab',
    950: '#000000',
  },
}
SCSS
$custom: #7922ab;
$custom-light: #a568c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7922ab",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 171
  },
  "hsl": {
    "h": 278.102,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.2036,
    "h": 309.1
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#7922AB
secondary
#87C663
accent
#EA3E7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7922AB

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

Preview Lab → · Contrast checker → · Palette generator →

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