#7936B7#7936B7

#7936B7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.194 H 303.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7936B7
RGBrgb(121, 54, 183)
HSLhsl(271, 54%, 46%)
HSVhsv(271, 70%, 72%)
CMYKcmyk(33.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(38.06, 52.77, -56.65)
CIE-LCHlch(38.06, 77.43, 312.97°)
OKLaboklab(48.94% 0.1075 -0.1612)
OKLCHoklch(48.94% 0.194 303.7)
XYZxyz(17.7496, 10.1222, 45.8093)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936B7 #74B736
analogous
#3936B7 #7936B7 #B736B5
triadic
#7936B7 #B77936 #36B779
tetradic
#7936B7 #B73936 #74B736 #36B5B7
square
#7936B7 #B73936 #74B736 #36B5B7
split-complementary
#7936B7 #B5B736 #36B739
monochromatic
#3B1A58 #5A2888 #7936B7 #975BCF #B58BDD

Accessibility & contrast

On white

6.94
#7936B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7936B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936B7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936B7#FFFFFF#000000##FFFFFF
##7936B71.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#6D5473
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7936b7;
/* rgb */ color: rgb(121, 54, 183);
/* oklch */ color: oklch(48.9% 0.194 303.7);
Tailwind
colors: {
  custom: {
    50: '#a573cd',
    500: '#7936b7',
    950: '#000000',
  },
}
SCSS
$custom: #7936b7;
$custom-light: #a573cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7936b7",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 271.163,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48943,
    "c": 0.19373,
    "h": 303.7
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#7936B7
secondary
#A3C782
accent
#DE4A91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7936B7

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

Preview Lab → · Contrast checker → · Palette generator →

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