#7926AE#7926AE

#7926AE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.203 H 307.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7926AE
RGBrgb(121, 38, 174)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 68%)
CMYKcmyk(30.5%, 78.2%, 0%, 31.8%)
CIE-LABlab(35.02, 57.41, -56.25)
CIE-LCHlch(35.02, 80.38, 315.58°)
OKLaboklab(46.58% 0.1244 -0.1599)
OKLCHoklch(46.58% 0.203 307.9)
XYZxyz(16.2166, 8.5074, 40.8240)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926AE #5BAE26
analogous
#3526AE #7926AE #AE269F
triadic
#7926AE #AE7926 #26AE79
tetradic
#7926AE #AE3526 #5BAE26 #269FAE
square
#7926AE #AE3526 #5BAE26 #269FAE
split-complementary
#7926AE #9FAE26 #26AE35
monochromatic
#33104A #561B7C #7926AE #993DD5 #B46FE0

Accessibility & contrast

On white

7.77
#7926AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7926AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7926AE#FFFFFF#000000##FFFFFF
##7926AE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#70486A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7926ae;
/* rgb */ color: rgb(121, 38, 174);
/* oklch */ color: oklch(46.6% 0.203 307.9);
Tailwind
colors: {
  custom: {
    50: '#a56ac7',
    500: '#7926ae',
    950: '#000000',
  },
}
SCSS
$custom: #7926ae;
$custom-light: #a56ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7926ae",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 276.618,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46579,
    "c": 0.20255,
    "h": 307.9
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#7926AE
secondary
#8EC66A
accent
#E74182
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7926AE

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

Preview Lab → · Contrast checker → · Palette generator →

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