#7927A8#7927A8

#7927A8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.196 H 309.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7927A8
RGBrgb(121, 39, 168)
HSLhsl(278, 62%, 41%)
HSVhsv(278, 77%, 66%)
CMYKcmyk(28%, 76.8%, 0%, 34.1%)
CIE-LABlab(34.69, 55.72, -53.20)
CIE-LCHlch(34.69, 77.04, 316.33°)
OKLaboklab(46.2% 0.1248 -0.1509)
OKLCHoklch(46.2% 0.196 309.6)
XYZxyz(15.6771, 8.3435, 37.8228)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7927A8 #56A827
analogous
#3927A8 #7927A8 #A82796
triadic
#7927A8 #A87927 #27A879
tetradic
#7927A8 #A83927 #56A827 #2796A8
square
#7927A8 #A83927 #56A827 #2796A8
split-complementary
#7927A8 #96A827 #27A839
monochromatic
#311045 #551B76 #7927A8 #9B3BD1 #B46CDD

Accessibility & contrast

On white

7.87
#7927A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7927A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7927A8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7927A8#FFFFFF#000000##FFFFFF
##7927A81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7927a8;
/* rgb */ color: rgb(121, 39, 168);
/* oklch */ color: oklch(46.2% 0.196 309.6);
Tailwind
colors: {
  custom: {
    50: '#a46ac3',
    500: '#7927a8',
    950: '#000000',
  },
}
SCSS
$custom: #7927a8;
$custom-light: #a46ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7927a8",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 278.14,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46203,
    "c": 0.19582,
    "h": 309.6
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#7927A8
secondary
#89C367
accent
#E5427E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7927A8

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

Preview Lab → · Contrast checker → · Palette generator →

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