#7921AA#7921AA

#7921AA is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.204 H 309.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7921AA
RGBrgb(121, 33, 170)
HSLhsl(279, 67%, 40%)
HSVhsv(279, 81%, 67%)
CMYKcmyk(28.8%, 80.6%, 0%, 33.3%)
CIE-LABlab(34.10, 58.30, -55.36)
CIE-LCHlch(34.10, 80.40, 316.49°)
OKLaboklab(45.84% 0.1294 -0.1572)
OKLCHoklch(45.84% 0.204 309.5)
XYZxyz(15.6832, 8.0553, 38.7511)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921AA #52AA21
analogous
#3421AA #7921AA #AA2197
triadic
#7921AA #AA7921 #21AA79
tetradic
#7921AA #AA3421 #52AA21 #2197AA
square
#7921AA #AA3421 #52AA21 #2197AA
split-complementary
#7921AA #97AA21 #21AA34
monochromatic
#300D43 #551777 #7921AA #9C31D7 #B464E1

Accessibility & contrast

On white

8.04
#7921AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7921AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7921AA#FFFFFF#000000##FFFFFF
##7921AA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#724466
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7921aa;
/* rgb */ color: rgb(121, 33, 170);
/* oklch */ color: oklch(45.8% 0.204 309.5);
Tailwind
colors: {
  custom: {
    50: '#a568c4',
    500: '#7921aa',
    950: '#000000',
  },
}
SCSS
$custom: #7921aa;
$custom-light: #a568c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7921aa",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 278.54,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.2036,
    "h": 309.5
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#7921AA
secondary
#85C661
accent
#EA3D7B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7921AA

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

Preview Lab → · Contrast checker → · Palette generator →

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