#7928A1#7928A1

#7928A1 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 311.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7928A1
RGBrgb(121, 40, 161)
HSLhsl(280, 60%, 39%)
HSVhsv(280, 75%, 63%)
CMYKcmyk(24.8%, 75.2%, 0%, 36.9%)
CIE-LABlab(34.31, 53.82, -49.60)
CIE-LCHlch(34.31, 73.19, 317.34°)
OKLaboklab(45.77% 0.1251 -0.1403)
OKLCHoklch(45.77% 0.188 311.7)
XYZxyz(15.0758, 8.1561, 34.4914)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928A1 #50A128
analogous
#3C28A1 #7928A1 #A1288D
triadic
#7928A1 #A17928 #28A179
tetradic
#7928A1 #A13C28 #50A128 #288DA1
square
#7928A1 #A13C28 #50A128 #288DA1
split-complementary
#7928A1 #8DA128 #28A13C
monochromatic
#2F103F #541C70 #7928A1 #9C39CE #B56ADA

Accessibility & contrast

On white

7.98
#7928A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7928A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928A1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928A1#FFFFFF#000000##FFFFFF
##7928A11.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#15529E
Tritanopia (blue-blind)
#744463
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7928a1;
/* rgb */ color: rgb(121, 40, 161);
/* oklch */ color: oklch(45.8% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#a46abe',
    500: '#7928a1',
    950: '#000000',
  },
}
SCSS
$custom: #7928a1;
$custom-light: #a46abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7928a1",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 280.165,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.18803,
    "h": 311.7
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#7928A1
secondary
#83C065
accent
#E34479
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7928A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7928A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva