#7928AA#7928AA

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

Color values

HEX#7928AA
RGBrgb(121, 40, 170)
HSLhsl(277, 62%, 41%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(28.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(34.97, 55.78, -53.94)
CIE-LCHlch(34.97, 77.59, 315.96°)
OKLaboklab(46.45% 0.1235 -0.1531)
OKLCHoklch(46.45% 0.197 308.9)
XYZxyz(15.8982, 8.4851, 38.8227)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928AA #59AA28
analogous
#3828AA #7928AA #AA289A
triadic
#7928AA #AA7928 #28AA79
tetradic
#7928AA #AA3828 #59AA28 #289AAA
square
#7928AA #AA3828 #59AA28 #289AAA
split-complementary
#7928AA #9AAA28 #28AA38
monochromatic
#321147 #561C78 #7928AA #9A3ED2 #B46FDD

Accessibility & contrast

On white

7.79
#7928AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7928AA#FFFFFF#000000##FFFFFF
##7928AA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7928aa;
/* rgb */ color: rgb(121, 40, 170);
/* oklch */ color: oklch(46.5% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#a56bc4',
    500: '#7928aa',
    950: '#000000',
  },
}
SCSS
$custom: #7928aa;
$custom-light: #a56bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7928aa",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 277.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.19667,
    "h": 308.9
  },
  "luminance": 0.08485
}

Semantic roles & 50–950 ramp

primary
#7928AA
secondary
#8CC46A
accent
#E54380
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7928AA

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

Preview Lab → · Contrast checker → · Palette generator →

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