#7926AB#7926AB

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

Color values

HEX#7926AB
RGBrgb(121, 38, 171)
HSLhsl(277, 64%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(29.2%, 77.8%, 0%, 32.9%)
CIE-LABlab(34.79, 56.76, -54.84)
CIE-LCHlch(34.79, 78.92, 315.98°)
OKLaboklab(46.34% 0.125 -0.1557)
OKLCHoklch(46.34% 0.2 308.8)
XYZxyz(15.9274, 8.3917, 39.3009)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926AB #58AB26
analogous
#3726AB #7926AB #AB269A
triadic
#7926AB #AB7926 #26AB79
tetradic
#7926AB #AB3726 #58AB26 #269AAB
square
#7926AB #AB3726 #58AB26 #269AAB
split-complementary
#7926AB #9AAB26 #26AB37
monochromatic
#321047 #561B79 #7926AB #9A3BD3 #B46DDF

Accessibility & contrast

On white

7.84
#7926AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7926AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7926AB#FFFFFF#000000##FFFFFF
##7926AB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#714768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7926ab;
/* rgb */ color: rgb(121, 38, 171);
/* oklch */ color: oklch(46.3% 0.200 308.8);
Tailwind
colors: {
  custom: {
    50: '#a56ac5',
    500: '#7926ab',
    950: '#000000',
  },
}
SCSS
$custom: #7926ab;
$custom-light: #a56ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7926ab",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 277.444,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.1997,
    "h": 308.8
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#7926AB
secondary
#8BC568
accent
#E7417F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7926AB

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

Preview Lab → · Contrast checker → · Palette generator →

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