#7922C1#7922C1

#7922C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.224 H 303.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7922C1
RGBrgb(121, 34, 193)
HSLhsl(273, 70%, 45%)
HSVhsv(273, 82%, 76%)
CMYKcmyk(37.3%, 82.4%, 0%, 24.3%)
CIE-LABlab(36.10, 63.00, -65.74)
CIE-LCHlch(36.10, 91.05, 313.78°)
OKLaboklab(47.81% 0.1222 -0.1877)
OKLCHoklch(47.81% 0.224 303.1)
XYZxyz(18.0805, 9.0592, 51.2378)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7922C1 #6AC122
analogous
#2922C1 #7922C1 #C122BA
triadic
#7922C1 #C17922 #22C179
tetradic
#7922C1 #C12922 #6AC122 #22BAC1
square
#7922C1 #C12922 #6AC122 #22BAC1
split-complementary
#7922C1 #BAC122 #22C129
monochromatic
#381059 #58198D #7922C1 #9742DE #B476E7

Accessibility & contrast

On white

7.47
#7922C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7922C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7922C1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7922C1#FFFFFF#000000##FFFFFF
##7922C11.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#6A4F74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7922c1;
/* rgb */ color: rgb(121, 34, 193);
/* oklch */ color: oklch(47.8% 0.224 303.1);
Tailwind
colors: {
  custom: {
    50: '#a76ad5',
    500: '#7922c1',
    950: '#000000',
  },
}
SCSS
$custom: #7922c1;
$custom-light: #a76ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7922c1",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 193
  },
  "hsl": {
    "h": 272.83,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.224,
    "h": 303.1
  },
  "luminance": 0.09059
}

Semantic roles & 50–950 ramp

primary
#7922C1
secondary
#9BCE71
accent
#ED3B8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7922C1

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

Preview Lab → · Contrast checker → · Palette generator →

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