#7936BF#7936BF

#7936BF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.202 H 301.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7936BF
RGBrgb(121, 54, 191)
HSLhsl(269, 56%, 48%)
HSVhsv(269, 72%, 75%)
CMYKcmyk(36.6%, 71.7%, 0%, 25.1%)
CIE-LABlab(38.66, 54.70, -60.38)
CIE-LCHlch(38.66, 81.47, 312.17°)
OKLaboklab(49.56% 0.1062 -0.1721)
OKLCHoklch(49.56% 0.202 301.7)
XYZxyz(18.6060, 10.4648, 50.3198)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936BF #7CBF36
analogous
#3638BF #7936BF #BD36BF
triadic
#7936BF #BF7936 #36BF79
tetradic
#7936BF #BF3638 #7CBF36 #36BFBD
square
#7936BF #BF3638 #7CBF36 #36BFBD
split-complementary
#7936BF #BFBD36 #38BF36
monochromatic
#3D1B60 #5B298F #7936BF #9860D2 #B790E0

Accessibility & contrast

On white

6.79
#7936BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7936BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7936BF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936BF#FFFFFF#000000##FFFFFF
##7936BF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7936bf;
/* rgb */ color: rgb(121, 54, 191);
/* oklch */ color: oklch(49.6% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#a573d3',
    500: '#7936bf',
    950: '#000000',
  },
}
SCSS
$custom: #7936bf;
$custom-light: #a573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7936bf",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 269.343,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.20221,
    "h": 301.7
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#7936BF
secondary
#A9CA87
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7936BF

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

Preview Lab → · Contrast checker → · Palette generator →

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