#7D39C6#7D39C6

#7D39C6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.207 H 301.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7D39C6
RGBrgb(125, 57, 198)
HSLhsl(269, 55%, 50%)
HSVhsv(269, 71%, 78%)
CMYKcmyk(36.9%, 71.2%, 0%, 22.4%)
CIE-LABlab(40.19, 55.76, -61.97)
CIE-LCHlch(40.19, 83.37, 311.98°)
OKLaboklab(50.92% 0.1075 -0.1767)
OKLCHoklch(50.92% 0.207 301.3)
XYZxyz(20.1111, 11.3633, 54.5489)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C6 #82C639
analogous
#393CC6 #7D39C6 #C339C6
triadic
#7D39C6 #C67D39 #39C67D
tetradic
#7D39C6 #C6393C #82C639 #39C6C3
square
#7D39C6 #C6393C #82C639 #39C6C3
split-complementary
#7D39C6 #C6C339 #3CC639
monochromatic
#411E67 #5F2B96 #7D39C6 #9C69D4 #BB98E1

Accessibility & contrast

On white

6.42
#7D39C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D39C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C6#FFFFFF#000000##FFFFFF
##7D39C61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#6D5B7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d39c6;
/* rgb */ color: rgb(125, 57, 198);
/* oklch */ color: oklch(50.9% 0.207 301.3);
Tailwind
colors: {
  custom: {
    50: '#a975d8',
    500: '#7d39c6',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c6;
$custom-light: #a975d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c6",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 268.936,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.20682,
    "h": 301.3
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#7D39C6
secondary
#AFCD8E
accent
#DF4997
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D39C6

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

Preview Lab → · Contrast checker → · Palette generator →

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