#7928AE#7928AE

#7928AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.201 H 307.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7928AE
RGBrgb(121, 40, 174)
HSLhsl(276, 63%, 42%)
HSVhsv(276, 77%, 68%)
CMYKcmyk(30.5%, 77%, 0%, 31.8%)
CIE-LABlab(35.28, 56.66, -55.83)
CIE-LCHlch(35.28, 79.54, 315.42°)
OKLaboklab(46.76% 0.1226 -0.1587)
OKLCHoklch(46.76% 0.201 307.7)
XYZxyz(16.2823, 8.6388, 40.8459)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928AE #5DAE28
analogous
#3628AE #7928AE #AE28A0
triadic
#7928AE #AE7928 #28AE79
tetradic
#7928AE #AE3628 #5DAE28 #28A0AE
square
#7928AE #AE3628 #5DAE28 #28A0AE
split-complementary
#7928AE #A0AE28 #28AE36
monochromatic
#34114A #561D7C #7928AE #9940D3 #B472DF

Accessibility & contrast

On white

7.70
#7928AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7928AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928AE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928AE#FFFFFF#000000##FFFFFF
##7928AE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#70496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7928ae;
/* rgb */ color: rgb(121, 40, 174);
/* oklch */ color: oklch(46.8% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#a56bc7',
    500: '#7928ae',
    950: '#000000',
  },
}
SCSS
$custom: #7928ae;
$custom-light: #a56bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7928ae",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 276.269,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.20053,
    "h": 307.7
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#7928AE
secondary
#90C66C
accent
#E64283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928AE

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

Preview Lab → · Contrast checker → · Palette generator →

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