#7D39C3#7D39C3

#7D39C3 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.204 H 302.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7D39C3
RGBrgb(125, 57, 195)
HSLhsl(270, 55%, 49%)
HSVhsv(270, 71%, 76%)
CMYKcmyk(35.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(39.96, 55.04, -60.59)
CIE-LCHlch(39.96, 81.86, 312.25°)
OKLaboklab(50.69% 0.1081 -0.1726)
OKLCHoklch(50.69% 0.204 302)
XYZxyz(19.7685, 11.2263, 52.7446)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39C3 #7FC339
analogous
#393AC3 #7D39C3 #C239C3
triadic
#7D39C3 #C37D39 #39C37D
tetradic
#7D39C3 #C3393A #7FC339 #39C3C2
square
#7D39C3 #C3393A #7FC339 #39C3C2
split-complementary
#7D39C3 #C3C239 #3AC339
monochromatic
#401D64 #5F2B94 #7D39C3 #9C67D2 #BB96E0

Accessibility & contrast

On white

6.47
#7D39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7D39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39C3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39C3#FFFFFF#000000##FFFFFF
##7D39C31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6E5A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d39c3;
/* rgb */ color: rgb(125, 57, 195);
/* oklch */ color: oklch(50.7% 0.204 302.0);
Tailwind
colors: {
  custom: {
    50: '#a875d6',
    500: '#7d39c3',
    950: '#000000',
  },
}
SCSS
$custom: #7d39c3;
$custom-light: #a875d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39c3",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 269.565,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.20365,
    "h": 302
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#7D39C3
secondary
#ACCC8C
accent
#DE4A95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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