#7928A8#7928A8

#7928A8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.195 H 309.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7928A8
RGBrgb(121, 40, 168)
HSLhsl(278, 62%, 41%)
HSVhsv(278, 76%, 66%)
CMYKcmyk(28%, 76.2%, 0%, 34.1%)
CIE-LABlab(34.82, 55.34, -52.98)
CIE-LCHlch(34.82, 76.61, 316.25°)
OKLaboklab(46.3% 0.1239 -0.1503)
OKLCHoklch(46.3% 0.195 309.5)
XYZxyz(15.7104, 8.4100, 37.8339)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928A8 #57A828
analogous
#3928A8 #7928A8 #A82897
triadic
#7928A8 #A87928 #28A879
tetradic
#7928A8 #A83928 #57A828 #2897A8
square
#7928A8 #A83928 #57A828 #2897A8
split-complementary
#7928A8 #97A828 #28A839
monochromatic
#321045 #551C77 #7928A8 #9A3DD1 #B46EDC

Accessibility & contrast

On white

7.83
#7928A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7928A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7928A8#FFFFFF#000000##FFFFFF
##7928A81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#724767
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7928a8;
/* rgb */ color: rgb(121, 40, 168);
/* oklch */ color: oklch(46.3% 0.195 309.5);
Tailwind
colors: {
  custom: {
    50: '#a46bc3',
    500: '#7928a8',
    950: '#000000',
  },
}
SCSS
$custom: #7928a8;
$custom-light: #a46bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7928a8",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 277.969,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.19476,
    "h": 309.5
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#7928A8
secondary
#8AC369
accent
#E5437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7928A8

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

Preview Lab → · Contrast checker → · Palette generator →

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