#7939B7#7939B7

#7939B7 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.190 H 303.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7939B7
RGBrgb(121, 57, 183)
HSLhsl(270, 53%, 47%)
HSVhsv(270, 69%, 72%)
CMYKcmyk(33.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(38.57, 51.35, -55.83)
CIE-LCHlch(38.57, 75.86, 312.61°)
OKLaboklab(49.31% 0.1044 -0.1588)
OKLCHoklch(49.31% 0.19 303.3)
XYZxyz(17.8935, 10.4101, 45.8572)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939B7 #77B739
analogous
#3A39B7 #7939B7 #B739B6
triadic
#7939B7 #B77939 #39B779
tetradic
#7939B7 #B73A39 #77B739 #39B6B7
square
#7939B7 #B73A39 #77B739 #39B6B7
split-complementary
#7939B7 #B6B739 #39B73A
monochromatic
#3B1C5A #5A2A88 #7939B7 #9760CD #B68EDC

Accessibility & contrast

On white

6.81
#7939B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7939B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939B7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939B7#FFFFFF#000000##FFFFFF
##7939B71.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)
#0059BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#6D5674
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7939b7;
/* rgb */ color: rgb(121, 57, 183);
/* oklch */ color: oklch(49.3% 0.190 303.3);
Tailwind
colors: {
  custom: {
    50: '#a574cd',
    500: '#7939b7',
    950: '#000000',
  },
}
SCSS
$custom: #7939b7;
$custom-light: #a574cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7939b7",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 270.476,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.19,
    "h": 303.3
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#7939B7
secondary
#A5C785
accent
#DC4C93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7939B7

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

Preview Lab → · Contrast checker → · Palette generator →

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