#7926AC#7926AC

#7926AC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 308.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7926AC
RGBrgb(121, 38, 172)
HSLhsl(277, 64%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(29.7%, 77.9%, 0%, 32.5%)
CIE-LABlab(34.86, 56.97, -55.31)
CIE-LCHlch(34.86, 79.41, 315.85°)
OKLaboklab(46.42% 0.1248 -0.1571)
OKLCHoklch(46.42% 0.201 308.5)
XYZxyz(16.0231, 8.4300, 39.8048)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926AC #59AC26
analogous
#3626AC #7926AC #AC269C
triadic
#7926AC #AC7926 #26AC79
tetradic
#7926AC #AC3626 #59AC26 #269CAC
square
#7926AC #AC3626 #59AC26 #269CAC
split-complementary
#7926AC #9CAC26 #26AC36
monochromatic
#321048 #561B7A #7926AC #9A3BD4 #B46EDF

Accessibility & contrast

On white

7.82
#7926AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7926AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7926AC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7926AC#FFFFFF#000000##FFFFFF
##7926AC1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#714868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7926ac;
/* rgb */ color: rgb(121, 38, 172);
/* oklch */ color: oklch(46.4% 0.201 308.5);
Tailwind
colors: {
  custom: {
    50: '#a56ac6',
    500: '#7926ac',
    950: '#000000',
  },
}
SCSS
$custom: #7926ac;
$custom-light: #a56ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7926ac",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 277.164,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.20065,
    "h": 308.5
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#7926AC
secondary
#8CC568
accent
#E74180
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7926AC

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

Preview Lab → · Contrast checker → · Palette generator →

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