#7936BE#7936BE

#7936BE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.201 H 301.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7936BE
RGBrgb(121, 54, 190)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(36.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(38.59, 54.46, -59.92)
CIE-LCHlch(38.59, 80.97, 312.27°)
OKLaboklab(49.48% 0.1063 -0.1708)
OKLCHoklch(49.48% 0.201 301.9)
XYZxyz(18.4964, 10.4209, 49.7422)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936BE #7BBE36
analogous
#3637BE #7936BE #BD36BE
triadic
#7936BE #BE7936 #36BE79
tetradic
#7936BE #BE3637 #7BBE36 #36BEBD
square
#7936BE #BE3637 #7BBE36 #36BEBD
split-complementary
#7936BE #BEBD36 #37BE36
monochromatic
#3C1B5F #5B288E #7936BE #9860D2 #B78FDF

Accessibility & contrast

On white

6.81
#7936BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7936BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936BE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936BE#FFFFFF#000000##FFFFFF
##7936BE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#6A5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7936be;
/* rgb */ color: rgb(121, 54, 190);
/* oklch */ color: oklch(49.5% 0.201 301.9);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7936be',
    950: '#000000',
  },
}
SCSS
$custom: #7936be;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7936be",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 269.559,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.20116,
    "h": 301.9
  },
  "luminance": 0.10421
}

Semantic roles & 50–950 ramp

primary
#7936BE
secondary
#A8CA86
accent
#DF4995
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7936BE

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

Preview Lab → · Contrast checker → · Palette generator →

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