#7922A8#7922A8

#7922A8 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.201 H 310.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7922A8
RGBrgb(121, 34, 168)
HSLhsl(279, 66%, 40%)
HSVhsv(279, 80%, 66%)
CMYKcmyk(28%, 79.8%, 0%, 34.1%)
CIE-LABlab(34.06, 57.54, -54.22)
CIE-LCHlch(34.06, 79.06, 316.70°)
OKLaboklab(45.76% 0.1291 -0.1539)
OKLCHoklch(45.76% 0.201 310)
XYZxyz(15.5237, 8.0365, 37.7716)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922A8 #51A822
analogous
#3622A8 #7922A8 #A82294
triadic
#7922A8 #A87922 #22A879
tetradic
#7922A8 #A83622 #51A822 #2294A8
square
#7922A8 #A83622 #51A822 #2294A8
split-complementary
#7922A8 #94A822 #22A836
monochromatic
#300D42 #541875 #7922A8 #9C32D5 #B565E0

Accessibility & contrast

On white

8.05
#7922A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7922A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7922A8#FFFFFF#000000##FFFFFF
##7922A81.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#724465
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7922a8;
/* rgb */ color: rgb(121, 34, 168);
/* oklch */ color: oklch(45.8% 0.201 310.0);
Tailwind
colors: {
  custom: {
    50: '#a568c3',
    500: '#7922a8',
    950: '#000000',
  },
}
SCSS
$custom: #7922a8;
$custom-light: #a568c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7922a8",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 278.955,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.20083,
    "h": 310
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#7922A8
secondary
#84C561
accent
#E93F7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7922A8

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

Preview Lab → · Contrast checker → · Palette generator →

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