#7928AB#7928AB

#7928AB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.198 H 308.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7928AB
RGBrgb(121, 40, 171)
HSLhsl(277, 62%, 41%)
HSVhsv(277, 77%, 67%)
CMYKcmyk(29.2%, 76.6%, 0%, 32.9%)
CIE-LABlab(35.05, 56.00, -54.41)
CIE-LCHlch(35.05, 78.08, 315.82°)
OKLaboklab(46.53% 0.1233 -0.1545)
OKLCHoklch(46.53% 0.198 308.6)
XYZxyz(15.9931, 8.5231, 39.3228)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928AB #5AAB28
analogous
#3828AB #7928AB #AB289C
triadic
#7928AB #AB7928 #28AB79
tetradic
#7928AB #AB3828 #5AAB28 #289CAB
square
#7928AB #AB3828 #5AAB28 #289CAB
split-complementary
#7928AB #9CAB28 #28AB38
monochromatic
#331148 #561C79 #7928AB #9A3ED2 #B470DE

Accessibility & contrast

On white

7.76
#7928AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7928AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928AB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928AB#FFFFFF#000000##FFFFFF
##7928AB1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#714868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7928ab;
/* rgb */ color: rgb(121, 40, 171);
/* oklch */ color: oklch(46.5% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#a56bc5',
    500: '#7928ab',
    950: '#000000',
  },
}
SCSS
$custom: #7928ab;
$custom-light: #a56bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7928ab",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 277.099,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.19764,
    "h": 308.6
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#7928AB
secondary
#8DC46A
accent
#E54381
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928AB

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

Preview Lab → · Contrast checker → · Palette generator →

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