#7936AC#7936AC

#7936AC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.182 H 306.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7936AC
RGBrgb(121, 54, 172)
HSLhsl(274, 52%, 44%)
HSVhsv(274, 69%, 67%)
CMYKcmyk(29.7%, 68.6%, 0%, 32.5%)
CIE-LABlab(37.27, 50.17, -51.42)
CIE-LCHlch(37.27, 71.84, 314.29°)
OKLaboklab(48.13% 0.109 -0.1458)
OKLCHoklch(48.13% 0.182 306.8)
XYZxyz(16.6491, 9.6820, 40.0135)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936AC #69AC36
analogous
#3E36AC #7936AC #AC36A4
triadic
#7936AC #AC7936 #36AC79
tetradic
#7936AC #AC3E36 #69AC36 #36A4AC
square
#7936AC #AC3E36 #69AC36 #36A4AC
split-complementary
#7936AC #A4AC36 #36AC3E
monochromatic
#37194F #58277D #7936AC #9755CA #B484D8

Accessibility & contrast

On white

7.15
#7936AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7936AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7936AC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936AC#FFFFFF#000000##FFFFFF
##7936AC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#70506D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7936ac;
/* rgb */ color: rgb(121, 54, 172);
/* oklch */ color: oklch(48.1% 0.182 306.8);
Tailwind
colors: {
  custom: {
    50: '#a472c5',
    500: '#7936ac',
    950: '#000000',
  },
}
SCSS
$custom: #7936ac;
$custom-light: #a472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7936ac",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 274.068,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.18204,
    "h": 306.8
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#7936AC
secondary
#9AC27C
accent
#DC4C8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936AC

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

Preview Lab → · Contrast checker → · Palette generator →

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