#7921AC#7921AC

#7921AC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.205 H 308.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7921AC
RGBrgb(121, 33, 172)
HSLhsl(278, 68%, 40%)
HSVhsv(278, 81%, 67%)
CMYKcmyk(29.7%, 80.8%, 0%, 32.5%)
CIE-LABlab(34.26, 58.73, -56.30)
CIE-LCHlch(34.26, 81.36, 316.21°)
OKLaboklab(46% 0.1289 -0.16)
OKLCHoklch(46% 0.205 308.9)
XYZxyz(15.8739, 8.1315, 39.7550)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921AC #54AC21
analogous
#3421AC #7921AC #AC2199
triadic
#7921AC #AC7921 #21AC79
tetradic
#7921AC #AC3421 #54AC21 #2199AC
square
#7921AC #AC3421 #54AC21 #2199AC
split-complementary
#7921AC #99AC21 #21AC34
monochromatic
#310D45 #551779 #7921AC #9B32D8 #B466E2

Accessibility & contrast

On white

8.00
#7921AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7921AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7921AC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7921AC#FFFFFF#000000##FFFFFF
##7921AC1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7921ac;
/* rgb */ color: rgb(121, 33, 172);
/* oklch */ color: oklch(46.0% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#a568c6',
    500: '#7921ac',
    950: '#000000',
  },
}
SCSS
$custom: #7921ac;
$custom-light: #a568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7921ac",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 172
  },
  "hsl": {
    "h": 277.986,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.20543,
    "h": 308.9
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#7921AC
secondary
#87C762
accent
#EB3D7D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7921AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7921AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva