#7939BC#7939BC

#7939BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.195 H 302.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7939BC
RGBrgb(121, 57, 188)
HSLhsl(269, 53%, 48%)
HSVhsv(269, 70%, 74%)
CMYKcmyk(35.6%, 69.7%, 0%, 26.3%)
CIE-LABlab(38.94, 52.57, -58.18)
CIE-LCHlch(38.94, 78.41, 312.10°)
OKLaboklab(49.68% 0.1036 -0.1656)
OKLCHoklch(49.68% 0.195 302)
XYZxyz(18.4232, 10.6220, 48.6469)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939BC #7CBC39
analogous
#393BBC #7939BC #BA39BC
triadic
#7939BC #BC7939 #39BC79
tetradic
#7939BC #BC393B #7CBC39 #39BCBA
square
#7939BC #BC393B #7CBC39 #39BCBA
split-complementary
#7939BC #BCBA39 #3BBC39
monochromatic
#3D1D5E #5B2B8D #7939BC #9863D0 #B792DE

Accessibility & contrast

On white

6.72
#7939BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7939BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939BC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939BC#FFFFFF#000000##FFFFFF
##7939BC1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6B5876
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7939bc;
/* rgb */ color: rgb(121, 57, 188);
/* oklch */ color: oklch(49.7% 0.195 302.0);
Tailwind
colors: {
  custom: {
    50: '#a574d1',
    500: '#7939bc',
    950: '#000000',
  },
}
SCSS
$custom: #7939bc;
$custom-light: #a574d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7939bc",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 269.313,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.1954,
    "h": 302
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#7939BC
secondary
#A9C988
accent
#DD4B96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7939BC

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

Preview Lab → · Contrast checker → · Palette generator →

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