#7928A4#7928A4

#7928A4 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 310.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7928A4
RGBrgb(121, 40, 164)
HSLhsl(279, 61%, 40%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(26.2%, 75.6%, 0%, 35.7%)
CIE-LABlab(34.53, 54.47, -51.06)
CIE-LCHlch(34.53, 74.66, 316.85°)
OKLaboklab(45.99% 0.1246 -0.1446)
OKLCHoklch(45.99% 0.191 310.8)
XYZxyz(15.3435, 8.2632, 35.9015)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928A4 #53A428
analogous
#3B28A4 #7928A4 #A42891
triadic
#7928A4 #A47928 #28A479
tetradic
#7928A4 #A43B28 #53A428 #2891A4
square
#7928A4 #A43B28 #53A428 #2891A4
split-complementary
#7928A4 #91A428 #28A43B
monochromatic
#301042 #551C73 #7928A4 #9B3ACF #B46BDB

Accessibility & contrast

On white

7.92
#7928A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7928A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928A4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928A4#FFFFFF#000000##FFFFFF
##7928A41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0D52A1
Tritanopia (blue-blind)
#734564
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7928a4;
/* rgb */ color: rgb(121, 40, 164);
/* oklch */ color: oklch(46.0% 0.191 310.8);
Tailwind
colors: {
  custom: {
    50: '#a46bc0',
    500: '#7928a4',
    950: '#000000',
  },
}
SCSS
$custom: #7928a4;
$custom-light: #a46bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7928a4",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 279.194,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.19091,
    "h": 310.8
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#7928A4
secondary
#86C166
accent
#E4447B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7928A4

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

Preview Lab → · Contrast checker → · Palette generator →

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