#7936BC#7936BC

#7936BC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.199 H 302.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7936BC
RGBrgb(121, 54, 188)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(35.6%, 71.3%, 0%, 26.3%)
CIE-LABlab(38.44, 53.97, -58.99)
CIE-LCHlch(38.44, 79.96, 312.46°)
OKLaboklab(49.33% 0.1067 -0.168)
OKLCHoklch(49.33% 0.199 302.4)
XYZxyz(18.2793, 10.3341, 48.5989)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936BC #79BC36
analogous
#3636BC #7936BC #BC36BC
triadic
#7936BC #BC7936 #36BC79
tetradic
#7936BC #BC3636 #79BC36 #36BCBC
square
#7936BC #BC3636 #79BC36 #36BCBC
split-complementary
#7936BC #BCBC36 #36BC36
monochromatic
#3C1B5D #5A288C #7936BC #985ED1 #B68EDF

Accessibility & contrast

On white

6.85
#7936BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7936BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936BC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936BC#FFFFFF#000000##FFFFFF
##7936BC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6B5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7936bc;
/* rgb */ color: rgb(121, 54, 188);
/* oklch */ color: oklch(49.3% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#a573d1',
    500: '#7936bc',
    950: '#000000',
  },
}
SCSS
$custom: #7936bc;
$custom-light: #a573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7936bc",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.19904,
    "h": 302.4
  },
  "luminance": 0.10334
}

Semantic roles & 50–950 ramp

primary
#7936BC
secondary
#A7C985
accent
#DF4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7936BC

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

Preview Lab → · Contrast checker → · Palette generator →

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