#7939DB#7939DB

#7939DB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.229 H 295.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7939DB
RGBrgb(121, 57, 219)
HSLhsl(264, 69%, 54%)
HSVhsv(264, 74%, 86%)
CMYKcmyk(44.7%, 74%, 0%, 14.1%)
CIE-LABlab(41.38, 60.26, -72.16)
CIE-LCHlch(41.38, 94.02, 309.87°)
OKLaboklab(52.18% 0.0974 -0.2067)
OKLCHoklch(52.18% 0.229 295.2)
XYZxyz(22.1310, 12.1051, 68.1746)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7939DB #9BDB39
analogous
#394ADB #7939DB #CA39DB
triadic
#7939DB #DB7939 #39DB79
tetradic
#7939DB #DB394A #9BDB39 #39DBCA
square
#7939DB #DB394A #9BDB39 #39DBCA
split-complementary
#7939DB #DBCA39 #4ADB39
monochromatic
#421882 #5C21B6 #7939DB #9C6DE4 #BFA1EE

Accessibility & contrast

On white

6.14
#7939DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7939DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7939DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7939DB#FFFFFF#000000##FFFFFF
##7939DB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#5D6488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7939db;
/* rgb */ color: rgb(121, 57, 219);
/* oklch */ color: oklch(52.2% 0.229 295.2);
Tailwind
colors: {
  custom: {
    50: '#a876e7',
    500: '#7939db',
    950: '#000000',
  },
}
SCSS
$custom: #7939db;
$custom-light: #a876e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7939db",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 219
  },
  "hsl": {
    "h": 263.704,
    "s": 69.231,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.22856,
    "h": 295.2
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#7939DB
secondary
#BFDA95
accent
#EC3CA6
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7939DB

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

Preview Lab → · Contrast checker → · Palette generator →

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