#7D39C5#7D39C5

#7D39C5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.206 H 301.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D39C5
RGBrgb(125, 57, 197)
HSLhsl(269, 55%, 50%)
HSVhsv(269, 71%, 77%)
CMYKcmyk(36.5%, 71.1%, 0%, 22.7%)
CIE-LABlab(40.11, 55.52, -61.51)
CIE-LCHlch(40.11, 82.87, 312.07°)
OKLaboklab(50.84% 0.1077 -0.1753)
OKLCHoklch(50.84% 0.206 301.6)
XYZxyz(19.9962, 11.3174, 53.9435)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C5 #81C539
analogous
#393BC5 #7D39C5 #C339C5
triadic
#7D39C5 #C57D39 #39C57D
tetradic
#7D39C5 #C5393B #81C539 #39C5C3
square
#7D39C5 #C5393B #81C539 #39C5C3
split-complementary
#7D39C5 #C5C339 #3BC539
monochromatic
#411E66 #5F2B96 #7D39C5 #9C68D3 #BB97E1

Accessibility & contrast

On white

6.44
#7D39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7D39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C5#FFFFFF#000000##FFFFFF
##7D39C51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#6E5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d39c5;
/* rgb */ color: rgb(125, 57, 197);
/* oklch */ color: oklch(50.8% 0.206 301.6);
Tailwind
colors: {
  custom: {
    50: '#a875d7',
    500: '#7d39c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c5;
$custom-light: #a875d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c5",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 269.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.20576,
    "h": 301.6
  },
  "luminance": 0.11317
}

Semantic roles & 50–950 ramp

primary
#7D39C5
secondary
#AECD8D
accent
#DE4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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