#7D39B9#7D39B9

#7D39B9 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.193 H 304.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7D39B9
RGBrgb(125, 57, 185)
HSLhsl(272, 53%, 47%)
HSVhsv(272, 69%, 73%)
CMYKcmyk(32.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(39.22, 52.65, -55.93)
CIE-LCHlch(39.22, 76.81, 313.27°)
OKLaboklab(49.93% 0.1096 -0.1589)
OKLCHoklch(49.93% 0.193 304.6)
XYZxyz(18.6756, 10.7891, 46.9882)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39B9 #75B939
analogous
#3D39B9 #7D39B9 #B939B5
triadic
#7D39B9 #B97D39 #39B97D
tetradic
#7D39B9 #B93D39 #75B939 #39B5B9
square
#7D39B9 #B93D39 #75B939 #39B5B9
split-complementary
#7D39B9 #B5B939 #39B93D
monochromatic
#3E1C5B #5D2B8A #7D39B9 #9B61CE #B990DD

Accessibility & contrast

On white

6.65
#7D39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D39B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39B9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39B9#FFFFFF#000000##FFFFFF
##7D39B91.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#725675
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d39b9;
/* rgb */ color: rgb(125, 57, 185);
/* oklch */ color: oklch(49.9% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#a775cf',
    500: '#7d39b9',
    950: '#000000',
  },
}
SCSS
$custom: #7d39b9;
$custom-light: #a775cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39b9",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 271.875,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.19303,
    "h": 304.6
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#7D39B9
secondary
#A5C886
accent
#DC4B8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D39B9

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

Preview Lab → · Contrast checker → · Palette generator →

#7D39B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva