#7929BA#7929BA

#7929BA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.211 H 304.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7929BA
RGBrgb(121, 41, 186)
HSLhsl(273, 64%, 45%)
HSVhsv(273, 78%, 73%)
CMYKcmyk(34.9%, 78%, 0%, 27.1%)
CIE-LABlab(36.36, 58.97, -61.19)
CIE-LCHlch(36.36, 84.98, 313.94°)
OKLaboklab(47.82% 0.119 -0.1744)
OKLCHoklch(47.82% 0.211 304.3)
XYZxyz(17.5390, 9.1961, 47.2959)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7929BA #6ABA29
analogous
#3029BA #7929BA #BA29B3
triadic
#7929BA #BA7929 #29BA79
tetradic
#7929BA #BA3029 #6ABA29 #29B3BA
square
#7929BA #BA3029 #6ABA29 #29B3BA
split-complementary
#7929BA #B3BA29 #29BA30
monochromatic
#381356 #581E88 #7929BA #9749D7 #B47BE2

Accessibility & contrast

On white

7.40
#7929BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7929BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7929BA#FFFFFF#000000##FFFFFF
##7929BA1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#6C4F71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7929ba;
/* rgb */ color: rgb(121, 41, 186);
/* oklch */ color: oklch(47.8% 0.211 304.3);
Tailwind
colors: {
  custom: {
    50: '#a66cd0',
    500: '#7929ba',
    950: '#000000',
  },
}
SCSS
$custom: #7929ba;
$custom-light: #a66cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7929ba",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 273.103,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.21113,
    "h": 304.3
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#7929BA
secondary
#9BCA75
accent
#E7418B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7929BA

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

Preview Lab → · Contrast checker → · Palette generator →

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