#7936BD#7936BD

#7936BD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.200 H 302.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7936BD
RGBrgb(121, 54, 189)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(36%, 71.4%, 0%, 25.9%)
CIE-LABlab(38.51, 54.21, -59.46)
CIE-LCHlch(38.51, 80.46, 312.36°)
OKLaboklab(49.41% 0.1065 -0.1694)
OKLCHoklch(49.41% 0.2 302.2)
XYZxyz(18.3874, 10.3773, 49.1686)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7936BD #7ABD36
analogous
#3636BD #7936BD #BD36BD
triadic
#7936BD #BD7936 #36BD79
tetradic
#7936BD #BD3636 #7ABD36 #36BDBD
square
#7936BD #BD3636 #7ABD36 #36BDBD
split-complementary
#7936BD #BDBD36 #36BD36
monochromatic
#3C1B5E #5B288D #7936BD #985FD1 #B68FDF

Accessibility & contrast

On white

6.83
#7936BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7936BD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7936BD#FFFFFF#000000##FFFFFF
##7936BD1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#6B5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7936bd;
/* rgb */ color: rgb(121, 54, 189);
/* oklch */ color: oklch(49.4% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7936bd',
    950: '#000000',
  },
}
SCSS
$custom: #7936bd;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7936bd",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 269.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49405,
    "c": 0.20009,
    "h": 302.2
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#7936BD
secondary
#A8C985
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7936BD

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

Preview Lab → · Contrast checker → · Palette generator →

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