#7929C4#7929C4

#7929C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.221 H 301.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7929C4
RGBrgb(121, 41, 196)
HSLhsl(271, 65%, 46%)
HSVhsv(271, 79%, 77%)
CMYKcmyk(38.3%, 79.1%, 0%, 23.1%)
CIE-LABlab(37.18, 61.26, -65.72)
CIE-LCHlch(37.18, 89.85, 312.99°)
OKLaboklab(48.64% 0.1163 -0.1877)
OKLCHoklch(48.64% 0.221 301.8)
XYZxyz(18.6395, 9.6363, 53.0918)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929C4 #74C429
analogous
#2C29C4 #7929C4 #C429C2
triadic
#7929C4 #C47929 #29C479
tetradic
#7929C4 #C42C29 #74C429 #29C2C4
square
#7929C4 #C42C29 #74C429 #29C2C4
split-complementary
#7929C4 #C2C429 #29C42C
monochromatic
#3B145F #5A1E91 #7929C4 #9750DA #B582E5

Accessibility & contrast

On white

7.17
#7929C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7929C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7929C4#FFFFFF#000000##FFFFFF
##7929C41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#685377
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7929c4;
/* rgb */ color: rgb(121, 41, 196);
/* oklch */ color: oklch(48.6% 0.221 301.8);
Tailwind
colors: {
  custom: {
    50: '#a76dd7',
    500: '#7929c4',
    950: '#000000',
  },
}
SCSS
$custom: #7929c4;
$custom-light: #a76dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7929c4",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 270.968,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.22084,
    "h": 301.8
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#7929C4
secondary
#A3CE7B
accent
#E83F91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7929C4

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

Preview Lab → · Contrast checker → · Palette generator →

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