#7939BF#7939BF

#7939BF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.199 H 301.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7939BF
RGBrgb(121, 57, 191)
HSLhsl(269, 54%, 49%)
HSVhsv(269, 70%, 75%)
CMYKcmyk(36.6%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.16, 53.30, -59.57)
CIE-LCHlch(39.16, 79.94, 311.82°)
OKLaboklab(49.91% 0.1032 -0.1698)
OKLCHoklch(49.91% 0.199 301.3)
XYZxyz(18.7500, 10.7527, 50.3678)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939BF #7FBF39
analogous
#393CBF #7939BF #BC39BF
triadic
#7939BF #BF7939 #39BF79
tetradic
#7939BF #BF393C #7FBF39 #39BFBC
square
#7939BF #BF393C #7FBF39 #39BFBC
split-complementary
#7939BF #BFBC39 #3CBF39
monochromatic
#3D1D61 #5B2B90 #7939BF #9864D1 #B893DF

Accessibility & contrast

On white

6.67
#7939BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7939BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939BF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939BF#FFFFFF#000000##FFFFFF
##7939BF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6A5978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7939bf;
/* rgb */ color: rgb(121, 57, 191);
/* oklch */ color: oklch(49.9% 0.199 301.3);
Tailwind
colors: {
  custom: {
    50: '#a574d3',
    500: '#7939bf',
    950: '#000000',
  },
}
SCSS
$custom: #7939bf;
$custom-light: #a574d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7939bf",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 268.657,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.19865,
    "h": 301.3
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#7939BF
secondary
#ABCA8A
accent
#DD4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7939BF

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

Preview Lab → · Contrast checker → · Palette generator →

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