#7936CA#7936CA

#7936CA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.214 H 299.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7936CA
RGBrgb(121, 54, 202)
HSLhsl(267, 58%, 50%)
HSVhsv(267, 73%, 79%)
CMYKcmyk(40.1%, 73.3%, 0%, 20.8%)
CIE-LABlab(39.53, 57.38, -65.40)
CIE-LCHlch(39.53, 87.00, 311.26°)
OKLaboklab(50.44% 0.1039 -0.1868)
OKLCHoklch(50.44% 0.214 299.1)
XYZxyz(19.8623, 10.9673, 56.9361)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936CA #87CA36
analogous
#363DCA #7936CA #C336CA
triadic
#7936CA #CA7936 #36CA79
tetradic
#7936CA #CA363D #87CA36 #36CAC3
square
#7936CA #CA363D #87CA36 #36CAC3
split-complementary
#7936CA #CAC336 #3DCA36
monochromatic
#3F1C6A #5C299A #7936CA #9966D7 #BA97E4

Accessibility & contrast

On white

6.58
#7936CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7936CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936CA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936CA#FFFFFF#000000##FFFFFF
##7936CA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#665C7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7936ca;
/* rgb */ color: rgb(121, 54, 202);
/* oklch */ color: oklch(50.4% 0.214 299.1);
Tailwind
colors: {
  custom: {
    50: '#a773db',
    500: '#7936ca',
    950: '#000000',
  },
}
SCSS
$custom: #7936ca;
$custom-light: #a773db;
$custom-dark: #000000;
JSON
{
  "hex": "#7936ca",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 267.162,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.21381,
    "h": 299.1
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#7936CA
secondary
#B1CF8D
accent
#E1469B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7936CA

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

Preview Lab → · Contrast checker → · Palette generator →

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