#7939D2#7939D2

#7939D2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.219 H 297.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7939D2
RGBrgb(121, 57, 210)
HSLhsl(265, 63%, 52%)
HSVhsv(265, 73%, 82%)
CMYKcmyk(42.4%, 72.9%, 0%, 17.6%)
CIE-LABlab(40.64, 58.01, -68.20)
CIE-LCHlch(40.64, 89.53, 310.38°)
OKLaboklab(51.43% 0.0995 -0.1951)
OKLCHoklch(51.43% 0.219 297)
XYZxyz(20.9781, 11.6439, 62.1025)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939D2 #92D239
analogous
#3946D2 #7939D2 #C639D2
triadic
#7939D2 #D27939 #39D279
tetradic
#7939D2 #D23946 #92D239 #39D2C6
square
#7939D2 #D23946 #92D239 #39D2C6
split-complementary
#7939D2 #D2C639 #46D239
monochromatic
#411B76 #5C26A8 #7939D2 #9B6BDD #BC9DE9

Accessibility & contrast

On white

6.31
#7939D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7939D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939D2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939D2#FFFFFF#000000##FFFFFF
##7939D21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#626082
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7939d2;
/* rgb */ color: rgb(121, 57, 210);
/* oklch */ color: oklch(51.4% 0.219 297.0);
Tailwind
colors: {
  custom: {
    50: '#a775e1',
    500: '#7939d2',
    950: '#000000',
  },
}
SCSS
$custom: #7939d2;
$custom-light: #a775e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7939d2",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 265.098,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.21902,
    "h": 297
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#7939D2
secondary
#B9D592
accent
#E642A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7939D2

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

Preview Lab → · Contrast checker → · Palette generator →

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