#7936C5#7936C5

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

Color values

HEX#7936C5
RGBrgb(121, 54, 197)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(38.6%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.13, 56.16, -63.13)
CIE-LCHlch(39.13, 84.49, 311.65°)
OKLaboklab(50.04% 0.105 -0.1802)
OKLCHoklch(50.04% 0.209 300.2)
XYZxyz(19.2799, 10.7343, 53.8687)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936C5 #82C536
analogous
#363BC5 #7936C5 #C136C5
triadic
#7936C5 #C57936 #36C579
tetradic
#7936C5 #C5363B #82C536 #36C5C1
square
#7936C5 #C5363B #82C536 #36C5C1
split-complementary
#7936C5 #C5C136 #3BC536
monochromatic
#3E1C65 #5B2995 #7936C5 #9964D4 #B894E2

Accessibility & contrast

On white

6.67
#7936C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7936C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936C5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936C5#FFFFFF#000000##FFFFFF
##7936C51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#685A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7936c5;
/* rgb */ color: rgb(121, 54, 197);
/* oklch */ color: oklch(50.0% 0.209 300.2);
Tailwind
colors: {
  custom: {
    50: '#a673d8',
    500: '#7936c5',
    950: '#000000',
  },
}
SCSS
$custom: #7936c5;
$custom-light: #a673d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7936c5",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 268.112,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.20855,
    "h": 300.2
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#7936C5
secondary
#ADCD8A
accent
#E04899
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7936C5

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

Preview Lab → · Contrast checker → · Palette generator →

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