#7926AA#7926AA

#7926AA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.199 H 309.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7926AA
RGBrgb(121, 38, 170)
HSLhsl(278, 63%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(28.8%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.71, 56.54, -54.36)
CIE-LCHlch(34.71, 78.43, 316.12°)
OKLaboklab(46.27% 0.1253 -0.1543)
OKLCHoklch(46.27% 0.199 309.1)
XYZxyz(15.8325, 8.3538, 38.8008)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926AA #57AA26
analogous
#3726AA #7926AA #AA2699
triadic
#7926AA #AA7926 #26AA79
tetradic
#7926AA #AA3726 #57AA26 #2699AA
square
#7926AA #AA3726 #57AA26 #2699AA
split-complementary
#7926AA #99AA26 #26AA37
monochromatic
#321046 #551B78 #7926AA #9A3AD3 #B46CDE

Accessibility & contrast

On white

7.86
#7926AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7926AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7926AA#FFFFFF#000000##FFFFFF
##7926AA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#724767
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7926aa;
/* rgb */ color: rgb(121, 38, 170);
/* oklch */ color: oklch(46.3% 0.199 309.1);
Tailwind
colors: {
  custom: {
    50: '#a56ac4',
    500: '#7926aa',
    950: '#000000',
  },
}
SCSS
$custom: #7926aa;
$custom-light: #a56ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7926aa",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 277.727,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46265,
    "c": 0.19876,
    "h": 309.1
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#7926AA
secondary
#8AC567
accent
#E6417F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7926AA

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

Preview Lab → · Contrast checker → · Palette generator →

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