#7939D7#7939D7

#7939D7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.224 H 296.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7939D7
RGBrgb(121, 57, 215)
HSLhsl(264, 66%, 53%)
HSVhsv(264, 73%, 84%)
CMYKcmyk(43.7%, 73.5%, 0%, 15.7%)
CIE-LABlab(41.05, 59.26, -70.41)
CIE-LCHlch(41.05, 92.03, 310.09°)
OKLaboklab(51.84% 0.0984 -0.2016)
OKLCHoklch(51.84% 0.224 296)
XYZxyz(21.6108, 11.8970, 65.4345)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939D7 #97D739
analogous
#3948D7 #7939D7 #C839D7
triadic
#7939D7 #D77939 #39D779
tetradic
#7939D7 #D73948 #97D739 #39D7C8
square
#7939D7 #D73948 #97D739 #39D7C8
split-complementary
#7939D7 #D7C839 #48D739
monochromatic
#41197C #5C23AF #7939D7 #9B6CE1 #BE9FEC

Accessibility & contrast

On white

6.21
#7939D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7939D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939D7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939D7#FFFFFF#000000##FFFFFF
##7939D71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#5F6285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7939d7;
/* rgb */ color: rgb(121, 57, 215);
/* oklch */ color: oklch(51.8% 0.224 296.0);
Tailwind
colors: {
  custom: {
    50: '#a875e4',
    500: '#7939d7',
    950: '#000000',
  },
}
SCSS
$custom: #7939d7;
$custom-light: #a875e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7939d7",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 264.304,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.22432,
    "h": 296
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#7939D7
secondary
#BCD894
accent
#E93EA4
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7939D7

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

Preview Lab → · Contrast checker → · Palette generator →

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