#7929C1#7929C1

#7929C1 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.218 H 302.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7929C1
RGBrgb(121, 41, 193)
HSLhsl(272, 65%, 46%)
HSVhsv(272, 79%, 76%)
CMYKcmyk(37.3%, 78.8%, 0%, 24.3%)
CIE-LABlab(36.93, 60.57, -64.38)
CIE-LCHlch(36.93, 88.39, 313.26°)
OKLaboklab(48.39% 0.1171 -0.1838)
OKLCHoklch(48.39% 0.218 302.5)
XYZxyz(18.3014, 9.5010, 51.3114)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929C1 #71C129
analogous
#2D29C1 #7929C1 #C129BD
triadic
#7929C1 #C17929 #29C179
tetradic
#7929C1 #C12D29 #71C129 #29BDC1
square
#7929C1 #C12D29 #71C129 #29BDC1
split-complementary
#7929C1 #BDC129 #29C12D
monochromatic
#3A145C #591E8F #7929C1 #974ED9 #B580E4

Accessibility & contrast

On white

7.24
#7929C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7929C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7929C1#FFFFFF#000000##FFFFFF
##7929C11.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6A5275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7929c1;
/* rgb */ color: rgb(121, 41, 193);
/* oklch */ color: oklch(48.4% 0.218 302.5);
Tailwind
colors: {
  custom: {
    50: '#a66cd5',
    500: '#7929c1',
    950: '#000000',
  },
}
SCSS
$custom: #7929c1;
$custom-light: #a66cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7929c1",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 271.579,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.21792,
    "h": 302.5
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#7929C1
secondary
#A1CD79
accent
#E8408F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7929C1

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

Preview Lab → · Contrast checker → · Palette generator →

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