#7936C6#7936C6

#7936C6 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.210 H 300.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7936C6
RGBrgb(121, 54, 198)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 78%)
CMYKcmyk(38.9%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.21, 56.40, -63.59)
CIE-LCHlch(39.21, 84.99, 311.57°)
OKLaboklab(50.12% 0.1048 -0.1815)
OKLCHoklch(50.12% 0.21 300)
XYZxyz(19.3948, 10.7803, 54.4741)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936C6 #83C636
analogous
#363BC6 #7936C6 #C136C6
triadic
#7936C6 #C67936 #36C679
tetradic
#7936C6 #C6363B #83C636 #36C6C1
square
#7936C6 #C6363B #83C636 #36C6C1
split-complementary
#7936C6 #C6C136 #3BC636
monochromatic
#3E1C66 #5C2996 #7936C6 #9964D5 #B994E2

Accessibility & contrast

On white

6.65
#7936C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7936C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936C6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936C6#FFFFFF#000000##FFFFFF
##7936C61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#675A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7936c6;
/* rgb */ color: rgb(121, 54, 198);
/* oklch */ color: oklch(50.1% 0.210 300.0);
Tailwind
colors: {
  custom: {
    50: '#a673d8',
    500: '#7936c6',
    950: '#000000',
  },
}
SCSS
$custom: #7936c6;
$custom-light: #a673d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7936c6",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 267.917,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.2096,
    "h": 300
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#7936C6
secondary
#AECD8B
accent
#E04799
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7936C6

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

Preview Lab → · Contrast checker → · Palette generator →

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