#7929AB#7929AB

#7929AB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.197 H 308.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7929AB
RGBrgb(121, 41, 171)
HSLhsl(277, 61%, 42%)
HSVhsv(277, 76%, 67%)
CMYKcmyk(29.2%, 76%, 0%, 32.9%)
CIE-LABlab(35.19, 55.61, -54.19)
CIE-LCHlch(35.19, 77.64, 315.74°)
OKLaboklab(46.62% 0.1224 -0.1538)
OKLCHoklch(46.62% 0.197 308.5)
XYZxyz(16.0273, 8.5914, 39.3342)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929AB #5BAB29
analogous
#3829AB #7929AB #AB299C
triadic
#7929AB #AB7929 #29AB79
tetradic
#7929AB #AB3829 #5BAB29 #299CAB
square
#7929AB #AB3829 #5BAB29 #299CAB
split-complementary
#7929AB #9CAB29 #29AB38
monochromatic
#331148 #561D7A #7929AB #9940D1 #B471DD

Accessibility & contrast

On white

7.73
#7929AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7929AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7929AB#FFFFFF#000000##FFFFFF
##7929AB1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7929ab;
/* rgb */ color: rgb(121, 41, 171);
/* oklch */ color: oklch(46.6% 0.197 308.5);
Tailwind
colors: {
  custom: {
    50: '#a56bc5',
    500: '#7929ab',
    950: '#000000',
  },
}
SCSS
$custom: #7929ab;
$custom-light: #a56bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7929ab",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 276.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.19657,
    "h": 308.5
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#7929AB
secondary
#8EC46C
accent
#E44381
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7929AB

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

Preview Lab → · Contrast checker → · Palette generator →

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