#7928A7#7928A7

#7928A7 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.194 H 309.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7928A7
RGBrgb(121, 40, 167)
HSLhsl(278, 61%, 41%)
HSVhsv(278, 76%, 65%)
CMYKcmyk(27.5%, 76%, 0%, 34.5%)
CIE-LABlab(34.75, 55.12, -52.50)
CIE-LCHlch(34.75, 76.12, 316.39°)
OKLaboklab(46.22% 0.1241 -0.1489)
OKLCHoklch(46.22% 0.194 309.8)
XYZxyz(15.6176, 8.3729, 37.3451)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928A7 #56A728
analogous
#3A28A7 #7928A7 #A72895
triadic
#7928A7 #A77928 #28A779
tetradic
#7928A7 #A73A28 #56A728 #2895A7
square
#7928A7 #A73A28 #56A728 #2895A7
split-complementary
#7928A7 #95A728 #28A73A
monochromatic
#311044 #551C76 #7928A7 #9B3CD0 #B46DDC

Accessibility & contrast

On white

7.85
#7928A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7928A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7928A7#FFFFFF#000000##FFFFFF
##7928A71.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0153A4
Tritanopia (blue-blind)
#724666
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7928a7;
/* rgb */ color: rgb(121, 40, 167);
/* oklch */ color: oklch(46.2% 0.194 309.8);
Tailwind
colors: {
  custom: {
    50: '#a46bc2',
    500: '#7928a7',
    950: '#000000',
  },
}
SCSS
$custom: #7928a7;
$custom-light: #a46bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#7928a7",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 278.268,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.19379,
    "h": 309.8
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#7928A7
secondary
#89C368
accent
#E4437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7928A7

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

Preview Lab → · Contrast checker → · Palette generator →

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