#7939BD#7939BD

#7939BD is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.196 H 301.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7939BD
RGBrgb(121, 57, 189)
HSLhsl(269, 54%, 48%)
HSVhsv(269, 70%, 74%)
CMYKcmyk(36%, 69.8%, 0%, 25.9%)
CIE-LABlab(39.01, 52.81, -58.64)
CIE-LCHlch(39.01, 78.92, 312.01°)
OKLaboklab(49.76% 0.1035 -0.167)
OKLCHoklch(49.76% 0.196 301.8)
XYZxyz(18.5314, 10.6653, 49.2165)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939BD #7DBD39
analogous
#393BBD #7939BD #BB39BD
triadic
#7939BD #BD7939 #39BD79
tetradic
#7939BD #BD393B #7DBD39 #39BDBB
square
#7939BD #BD393B #7DBD39 #39BDBB
split-complementary
#7939BD #BDBB39 #3BBD39
monochromatic
#3D1D5F #5B2B8E #7939BD #9863D0 #B792DE

Accessibility & contrast

On white

6.70
#7939BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7939BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939BD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939BD#FFFFFF#000000##FFFFFF
##7939BD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#6B5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7939bd;
/* rgb */ color: rgb(121, 57, 189);
/* oklch */ color: oklch(49.8% 0.196 301.8);
Tailwind
colors: {
  custom: {
    50: '#a574d2',
    500: '#7939bd',
    950: '#000000',
  },
}
SCSS
$custom: #7939bd;
$custom-light: #a574d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7939bd",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 269.091,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.19649,
    "h": 301.8
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#7939BD
secondary
#AAC989
accent
#DD4B96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7939BD

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

Preview Lab → · Contrast checker → · Palette generator →

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