#7936C4#7936C4

#7936C4 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.207 H 300.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7936C4
RGBrgb(121, 54, 196)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 72%, 77%)
CMYKcmyk(38.3%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.05, 55.91, -62.67)
CIE-LCHlch(39.05, 83.99, 311.74°)
OKLaboklab(49.96% 0.1052 -0.1789)
OKLCHoklch(49.96% 0.207 300.5)
XYZxyz(19.1657, 10.6886, 53.2672)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936C4 #81C436
analogous
#363AC4 #7936C4 #C036C4
triadic
#7936C4 #C47936 #36C479
tetradic
#7936C4 #C4363A #81C436 #36C4C0
square
#7936C4 #C4363A #81C436 #36C4C0
split-complementary
#7936C4 #C4C036 #3AC436
monochromatic
#3E1C64 #5B2994 #7936C4 #9863D4 #B893E1

Accessibility & contrast

On white

6.69
#7936C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7936C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936C4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936C4#FFFFFF#000000##FFFFFF
##7936C41.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#68597A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7936c4;
/* rgb */ color: rgb(121, 54, 196);
/* oklch */ color: oklch(50.0% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#a673d7',
    500: '#7936c4',
    950: '#000000',
  },
}
SCSS
$custom: #7936c4;
$custom-light: #a673d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7936c4",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 268.31,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.20749,
    "h": 300.5
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#7936C4
secondary
#ADCC89
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7936C4

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

Preview Lab → · Contrast checker → · Palette generator →

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