#7936B9#7936B9

#7936B9 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.196 H 303.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7936B9
RGBrgb(121, 54, 185)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.6%, 70.8%, 0%, 27.5%)
CIE-LABlab(38.21, 53.25, -57.59)
CIE-LCHlch(38.21, 78.44, 312.76°)
OKLaboklab(49.1% 0.1072 -0.1639)
OKLCHoklch(49.1% 0.196 303.2)
XYZxyz(17.9592, 10.2061, 46.9134)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936B9 #76B936
analogous
#3736B9 #7936B9 #B936B8
triadic
#7936B9 #B97936 #36B979
tetradic
#7936B9 #B93736 #76B936 #36B8B9
square
#7936B9 #B93736 #76B936 #36B8B9
split-complementary
#7936B9 #B8B936 #36B937
monochromatic
#3B1A5A #5A288A #7936B9 #975DD0 #B68CDD

Accessibility & contrast

On white

6.91
#7936B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7936B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936B9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936B9#FFFFFF#000000##FFFFFF
##7936B91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#6C5574
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7936b9;
/* rgb */ color: rgb(121, 54, 185);
/* oklch */ color: oklch(49.1% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#a573cf',
    500: '#7936b9',
    950: '#000000',
  },
}
SCSS
$custom: #7936b9;
$custom-light: #a573cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7936b9",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 270.687,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.19586,
    "h": 303.2
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#7936B9
secondary
#A5C883
accent
#DE4A92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7936B9

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

Preview Lab → · Contrast checker → · Palette generator →

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