#7D39B7#7D39B7

#7D39B7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.191 H 305.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7D39B7
RGBrgb(125, 57, 183)
HSLhsl(272, 53%, 47%)
HSVhsv(272, 69%, 72%)
CMYKcmyk(31.7%, 68.9%, 0%, 28.2%)
CIE-LABlab(39.08, 52.18, -54.98)
CIE-LCHlch(39.08, 75.80, 313.50°)
OKLaboklab(49.78% 0.1099 -0.1561)
OKLCHoklch(49.78% 0.191 305.1)
XYZxyz(18.4659, 10.7052, 45.8841)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39B7 #73B739
analogous
#3E39B7 #7D39B7 #B739B2
triadic
#7D39B7 #B77D39 #39B77D
tetradic
#7D39B7 #B73E39 #73B739 #39B2B7
square
#7D39B7 #B73E39 #73B739 #39B2B7
split-complementary
#7D39B7 #B2B739 #39B73E
monochromatic
#3D1C5A #5D2A88 #7D39B7 #9B60CD #B88EDC

Accessibility & contrast

On white

6.69
#7D39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7D39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39B7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39B7#FFFFFF#000000##FFFFFF
##7D39B71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#095CB4
Tritanopia (blue-blind)
#725574
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d39b7;
/* rgb */ color: rgb(125, 57, 183);
/* oklch */ color: oklch(49.8% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#a775cd',
    500: '#7d39b7',
    950: '#000000',
  },
}
SCSS
$custom: #7d39b7;
$custom-light: #a775cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39b7",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 272.381,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.19091,
    "h": 305.1
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#7D39B7
secondary
#A3C785
accent
#DC4C8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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