#7936BA#7936BA

#7936BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.197 H 302.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7936BA
RGBrgb(121, 54, 186)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(34.9%, 71%, 0%, 27.1%)
CIE-LABlab(38.28, 53.49, -58.06)
CIE-LCHlch(38.28, 78.95, 312.66°)
OKLaboklab(49.17% 0.107 -0.1653)
OKLCHoklch(49.17% 0.197 302.9)
XYZxyz(18.0652, 10.2484, 47.4713)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936BA #77BA36
analogous
#3736BA #7936BA #BA36B9
triadic
#7936BA #BA7936 #36BA79
tetradic
#7936BA #BA3736 #77BA36 #36B9BA
square
#7936BA #BA3736 #77BA36 #36B9BA
split-complementary
#7936BA #B9BA36 #36BA37
monochromatic
#3B1A5B #5A288B #7936BA #975DD0 #B68DDE

Accessibility & contrast

On white

6.89
#7936BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7936BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936BA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936BA#FFFFFF#000000##FFFFFF
##7936BA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7936ba;
/* rgb */ color: rgb(121, 54, 186);
/* oklch */ color: oklch(49.2% 0.197 302.9);
Tailwind
colors: {
  custom: {
    50: '#a573d0',
    500: '#7936ba',
    950: '#000000',
  },
}
SCSS
$custom: #7936ba;
$custom-light: #a573d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7936ba",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 270.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.19692,
    "h": 302.9
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#7936BA
secondary
#A5C884
accent
#DE4993
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7936BA

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

Preview Lab → · Contrast checker → · Palette generator →

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