#7D39BB#7D39BB

#7D39BB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.195 H 304.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7D39BB
RGBrgb(125, 57, 187)
HSLhsl(271, 53%, 48%)
HSVhsv(271, 70%, 73%)
CMYKcmyk(33.2%, 69.5%, 0%, 26.7%)
CIE-LABlab(39.37, 53.13, -56.87)
CIE-LCHlch(39.37, 77.82, 313.05°)
OKLaboklab(50.08% 0.1093 -0.1617)
OKLCHoklch(50.08% 0.195 304.1)
XYZxyz(18.8882, 10.8741, 48.1079)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39BB #77BB39
analogous
#3C39BB #7D39BB #BB39B8
triadic
#7D39BB #BB7D39 #39BB7D
tetradic
#7D39BB #BB3C39 #77BB39 #39B8BB
square
#7D39BB #BB3C39 #77BB39 #39B8BB
split-complementary
#7D39BB #B8BB39 #39BB3C
monochromatic
#3E1C5D #5E2B8C #7D39BB #9B62CF #B991DD

Accessibility & contrast

On white

6.61
#7D39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39BB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39BB#FFFFFF#000000##FFFFFF
##7D39BB1.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#715776
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d39bb;
/* rgb */ color: rgb(125, 57, 187);
/* oklch */ color: oklch(50.1% 0.195 304.1);
Tailwind
colors: {
  custom: {
    50: '#a875d0',
    500: '#7d39bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d39bb;
$custom-light: #a875d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39bb",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 271.385,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.19515,
    "h": 304.1
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#7D39BB
secondary
#A6C887
accent
#DD4B91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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