#7928A9#7928A9

#7928A9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 309.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7928A9
RGBrgb(121, 40, 169)
HSLhsl(278, 62%, 41%)
HSVhsv(278, 76%, 66%)
CMYKcmyk(28.4%, 76.3%, 0%, 33.7%)
CIE-LABlab(34.90, 55.56, -53.46)
CIE-LCHlch(34.90, 77.10, 316.10°)
OKLaboklab(46.37% 0.1237 -0.1517)
OKLCHoklch(46.37% 0.196 309.2)
XYZxyz(15.8039, 8.4474, 38.3264)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928A9 #58A928
analogous
#3828A9 #7928A9 #A92898
triadic
#7928A9 #A97928 #28A979
tetradic
#7928A9 #A93828 #58A928 #2898A9
square
#7928A9 #A93828 #58A928 #2898A9
split-complementary
#7928A9 #98A928 #28A938
monochromatic
#321146 #561C78 #7928A9 #9A3DD1 #B46FDD

Accessibility & contrast

On white

7.81
#7928A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7928A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928A9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928A9#FFFFFF#000000##FFFFFF
##7928A91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#724767
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7928a9;
/* rgb */ color: rgb(121, 40, 169);
/* oklch */ color: oklch(46.4% 0.196 309.2);
Tailwind
colors: {
  custom: {
    50: '#a46bc3',
    500: '#7928a9',
    950: '#000000',
  },
}
SCSS
$custom: #7928a9;
$custom-light: #a46bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7928a9",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 277.674,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.19571,
    "h": 309.2
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#7928A9
secondary
#8BC469
accent
#E5437F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928A9

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

Preview Lab → · Contrast checker → · Palette generator →

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