#7922A1#7922A1

#7922A1 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.194 H 312.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7922A1
RGBrgb(121, 34, 161)
HSLhsl(281, 65%, 38%)
HSVhsv(281, 79%, 63%)
CMYKcmyk(24.8%, 78.9%, 0%, 36.9%)
CIE-LABlab(33.53, 56.06, -50.87)
CIE-LCHlch(33.53, 75.70, 317.78°)
OKLaboklab(45.22% 0.1306 -0.144)
OKLCHoklch(45.22% 0.194 312.2)
XYZxyz(14.8890, 7.7826, 34.4292)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922A1 #4AA122
analogous
#3922A1 #7922A1 #A12289
triadic
#7922A1 #A17922 #22A179
tetradic
#7922A1 #A13922 #4AA122 #2289A1
square
#7922A1 #A13922 #4AA122 #2289A1
split-complementary
#7922A1 #89A122 #22A139
monochromatic
#2D0D3C #53176E #7922A1 #9F2DD3 #B660DD

Accessibility & contrast

On white

8.21
#7922A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7922A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7922A1#FFFFFF#000000##FFFFFF
##7922A11.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#09509E
Tritanopia (blue-blind)
#744161
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7922a1;
/* rgb */ color: rgb(121, 34, 161);
/* oklch */ color: oklch(45.2% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#a468be',
    500: '#7922a1',
    950: '#000000',
  },
}
SCSS
$custom: #7922a1;
$custom-light: #a468be;
$custom-dark: #000000;
JSON
{
  "hex": "#7922a1",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 281.102,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.19439,
    "h": 312.2
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#7922A1
secondary
#7DC25D
accent
#E84075
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7922A1

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

Preview Lab → · Contrast checker → · Palette generator →

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