#7921A2#7921A2

#7921A2 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.196 H 311.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7921A2
RGBrgb(121, 33, 162)
HSLhsl(281, 66%, 38%)
HSVhsv(281, 80%, 64%)
CMYKcmyk(25.3%, 79.6%, 0%, 36.5%)
CIE-LABlab(33.48, 56.61, -51.54)
CIE-LCHlch(33.48, 76.56, 317.69°)
OKLaboklab(45.21% 0.1312 -0.146)
OKLCHoklch(45.21% 0.196 311.9)
XYZxyz(14.9494, 7.7617, 34.8861)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7921A2 #4AA221
analogous
#3821A2 #7921A2 #A2218A
triadic
#7921A2 #A27921 #21A279
tetradic
#7921A2 #A23821 #4AA221 #218AA2
square
#7921A2 #A23821 #4AA221 #218AA2
split-complementary
#7921A2 #8AA221 #21A238
monochromatic
#2D0C3C #53176F #7921A2 #9F2CD4 #B65FDE

Accessibility & contrast

On white

8.23
#7921A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7921A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7921A2#FFFFFF#000000##FFFFFF
##7921A21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#03509F
Tritanopia (blue-blind)
#744162
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7921a2;
/* rgb */ color: rgb(121, 33, 162);
/* oklch */ color: oklch(45.2% 0.196 311.9);
Tailwind
colors: {
  custom: {
    50: '#a467be',
    500: '#7921a2',
    950: '#000000',
  },
}
SCSS
$custom: #7921a2;
$custom-light: #a467be;
$custom-dark: #000000;
JSON
{
  "hex": "#7921a2",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 280.93,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.19628,
    "h": 311.9
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#7921A2
secondary
#7DC35C
accent
#E93F75
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7921A2

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

Preview Lab → · Contrast checker → · Palette generator →

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