#7929AC#7929AC

#7929AC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.198 H 308.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7929AC
RGBrgb(121, 41, 172)
HSLhsl(277, 62%, 42%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(29.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(35.26, 55.83, -54.66)
CIE-LCHlch(35.26, 78.14, 315.60°)
OKLaboklab(46.7% 0.1222 -0.1552)
OKLCHoklch(46.7% 0.198 308.2)
XYZxyz(16.1229, 8.6296, 39.8381)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929AC #5CAC29
analogous
#3829AC #7929AC #AC299E
triadic
#7929AC #AC7929 #29AC79
tetradic
#7929AC #AC3829 #5CAC29 #299EAC
square
#7929AC #AC3829 #5CAC29 #299EAC
split-complementary
#7929AC #9EAC29 #29AC38
monochromatic
#331149 #561D7B #7929AC #9941D2 #B472DD

Accessibility & contrast

On white

7.70
#7929AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7929AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7929AC#FFFFFF#000000##FFFFFF
##7929AC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#714969
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7929ac;
/* rgb */ color: rgb(121, 41, 172);
/* oklch */ color: oklch(46.7% 0.198 308.2);
Tailwind
colors: {
  custom: {
    50: '#a56bc6',
    500: '#7929ac',
    950: '#000000',
  },
}
SCSS
$custom: #7929ac;
$custom-light: #a56bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7929ac",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 276.641,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.19754,
    "h": 308.2
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#7929AC
secondary
#8FC56C
accent
#E54382
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7929AC

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

Preview Lab → · Contrast checker → · Palette generator →

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