#7936B5#7936B5

#7936B5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.192 H 304.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7936B5
RGBrgb(121, 54, 181)
HSLhsl(272, 54%, 46%)
HSVhsv(272, 70%, 71%)
CMYKcmyk(33.1%, 70.2%, 0%, 29%)
CIE-LABlab(37.91, 52.30, -55.71)
CIE-LCHlch(37.91, 76.41, 313.19°)
OKLaboklab(48.79% 0.1078 -0.1584)
OKLCHoklch(48.79% 0.192 304.2)
XYZxyz(17.5429, 10.0395, 44.7207)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936B5 #72B536
analogous
#3936B5 #7936B5 #B536B1
triadic
#7936B5 #B57936 #36B579
tetradic
#7936B5 #B53936 #72B536 #36B1B5
square
#7936B5 #B53936 #72B536 #36B1B5
split-complementary
#7936B5 #B1B536 #36B539
monochromatic
#3A1A57 #592886 #7936B5 #975ACE #B589DC

Accessibility & contrast

On white

6.98
#7936B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7936B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936B5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936B5#FFFFFF#000000##FFFFFF
##7936B51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#6E5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7936b5;
/* rgb */ color: rgb(121, 54, 181);
/* oklch */ color: oklch(48.8% 0.192 304.2);
Tailwind
colors: {
  custom: {
    50: '#a572cc',
    500: '#7936b5',
    950: '#000000',
  },
}
SCSS
$custom: #7936b5;
$custom-light: #a572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7936b5",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 271.654,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.19161,
    "h": 304.2
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#7936B5
secondary
#A1C681
accent
#DD4A90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7936B5

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

Preview Lab → · Contrast checker → · Palette generator →

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