#7921AD#7921AD

#7921AD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.206 H 308.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7921AD
RGBrgb(121, 33, 173)
HSLhsl(278, 68%, 40%)
HSVhsv(278, 81%, 68%)
CMYKcmyk(30.1%, 80.9%, 0%, 32.2%)
CIE-LABlab(34.33, 58.95, -56.77)
CIE-LCHlch(34.33, 81.84, 316.08°)
OKLaboklab(46.08% 0.1286 -0.1614)
OKLCHoklch(46.08% 0.206 308.6)
XYZxyz(15.9703, 8.1701, 40.2627)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921AD #55AD21
analogous
#3321AD #7921AD #AD219B
triadic
#7921AD #AD7921 #21AD79
tetradic
#7921AD #AD3321 #55AD21 #219BAD
square
#7921AD #AD3321 #55AD21 #219BAD
split-complementary
#7921AD #9BAD21 #21AD33
monochromatic
#310D46 #55177A #7921AD #9B33D8 #B466E2

Accessibility & contrast

On white

7.97
#7921AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7921AD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7921AD#FFFFFF#000000##FFFFFF
##7921AD1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#714668
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7921ad;
/* rgb */ color: rgb(121, 33, 173);
/* oklch */ color: oklch(46.1% 0.206 308.6);
Tailwind
colors: {
  custom: {
    50: '#a568c6',
    500: '#7921ad',
    950: '#000000',
  },
}
SCSS
$custom: #7921ad;
$custom-light: #a568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7921ad",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 277.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.20635,
    "h": 308.6
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#7921AD
secondary
#88C762
accent
#EB3D7E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7921AD

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

Preview Lab → · Contrast checker → · Palette generator →

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