#7922B1#7922B1

#7922B1 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.209 H 307.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7922B1
RGBrgb(121, 34, 177)
HSLhsl(277, 68%, 41%)
HSVhsv(277, 81%, 69%)
CMYKcmyk(31.6%, 80.8%, 0%, 30.6%)
CIE-LABlab(34.77, 59.48, -58.45)
CIE-LCHlch(34.77, 83.39, 315.50°)
OKLaboklab(46.48% 0.1268 -0.1663)
OKLCHoklch(46.48% 0.209 307.3)
XYZxyz(16.3913, 8.3835, 42.3411)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922B1 #5AB122
analogous
#3122B1 #7922B1 #B122A2
triadic
#7922B1 #B17922 #22B179
tetradic
#7922B1 #B13122 #5AB122 #22A2B1
square
#7922B1 #B13122 #5AB122 #22A2B1
split-complementary
#7922B1 #A2B122 #22B131
monochromatic
#330E4A #56187E #7922B1 #9A38D9 #B46BE3

Accessibility & contrast

On white

7.85
#7922B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7922B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7922B1#FFFFFF#000000##FFFFFF
##7922B11.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6F486B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7922b1;
/* rgb */ color: rgb(121, 34, 177);
/* oklch */ color: oklch(46.5% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#a569c9',
    500: '#7922b1',
    950: '#000000',
  },
}
SCSS
$custom: #7922b1;
$custom-light: #a569c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7922b1",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 276.503,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.20914,
    "h": 307.3
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#7922B1
secondary
#8DC966
accent
#EB3D81
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7922B1

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

Preview Lab → · Contrast checker → · Palette generator →

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