#7929AA#7929AA

#7929AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.196 H 308.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7929AA
RGBrgb(121, 41, 170)
HSLhsl(277, 61%, 41%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(28.8%, 75.9%, 0%, 33.3%)
CIE-LABlab(35.11, 55.39, -53.71)
CIE-LCHlch(35.11, 77.15, 315.88°)
OKLaboklab(46.55% 0.1226 -0.1524)
OKLCHoklch(46.55% 0.196 308.8)
XYZxyz(15.9323, 8.5534, 38.8341)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929AA #5AAA29
analogous
#3929AA #7929AA #AA299B
triadic
#7929AA #AA7929 #29AA79
tetradic
#7929AA #AA3929 #5AAA29 #299BAA
square
#7929AA #AA3929 #5AAA29 #299BAA
split-complementary
#7929AA #9BAA29 #29AA39
monochromatic
#331147 #561D79 #7929AA #9A3FD1 #B471DD

Accessibility & contrast

On white

7.75
#7929AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7929AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7929AA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7929AA#FFFFFF#000000##FFFFFF
##7929AA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#714868
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7929aa;
/* rgb */ color: rgb(121, 41, 170);
/* oklch */ color: oklch(46.5% 0.196 308.8);
Tailwind
colors: {
  custom: {
    50: '#a46bc4',
    500: '#7929aa',
    950: '#000000',
  },
}
SCSS
$custom: #7929aa;
$custom-light: #a46bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7929aa",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 277.209,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.19561,
    "h": 308.8
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#7929AA
secondary
#8DC46B
accent
#E44481
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7929AA

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

Preview Lab → · Contrast checker → · Palette generator →

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