#7926A2#7926A2

#7926A2 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 311.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7926A2
RGBrgb(121, 38, 162)
HSLhsl(280, 62%, 39%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.3%, 76.5%, 0%, 36.5%)
CIE-LABlab(34.11, 54.81, -50.53)
CIE-LCHlch(34.11, 74.55, 317.33°)
OKLaboklab(45.65% 0.1268 -0.143)
OKLCHoklch(45.65% 0.191 311.6)
XYZxyz(15.0986, 8.0602, 34.9358)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926A2 #4FA226
analogous
#3B26A2 #7926A2 #A2268D
triadic
#7926A2 #A27926 #26A279
tetradic
#7926A2 #A23B26 #4FA226 #268DA2
square
#7926A2 #A23B26 #4FA226 #268DA2
split-complementary
#7926A2 #8DA226 #26A23B
monochromatic
#2F0F3F #541A70 #7926A2 #9D35D0 #B567DB

Accessibility & contrast

On white

8.04
#7926A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7926A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7926A2#FFFFFF#000000##FFFFFF
##7926A21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0E529F
Tritanopia (blue-blind)
#744363
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7926a2;
/* rgb */ color: rgb(121, 38, 162);
/* oklch */ color: oklch(45.7% 0.191 311.6);
Tailwind
colors: {
  custom: {
    50: '#a46abe',
    500: '#7926a2',
    950: '#000000',
  },
}
SCSS
$custom: #7926a2;
$custom-light: #a46abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7926a2",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 280.161,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.19118,
    "h": 311.6
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#7926A2
secondary
#82C163
accent
#E54378
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7926A2

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

Preview Lab → · Contrast checker → · Palette generator →

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