#7D39A7#7D39A7

#7D39A7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.174 H 309.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7D39A7
RGBrgb(125, 57, 167)
HSLhsl(277, 49%, 44%)
HSVhsv(277, 66%, 65%)
CMYKcmyk(25.1%, 65.9%, 0%, 34.5%)
CIE-LABlab(37.98, 48.46, -47.26)
CIE-LCHlch(37.98, 67.68, 315.72°)
OKLaboklab(48.64% 0.1115 -0.1334)
OKLCHoklch(48.64% 0.174 309.9)
XYZxyz(16.8943, 10.0766, 37.6067)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39A7 #63A739
analogous
#4639A7 #7D39A7 #A7399A
triadic
#7D39A7 #A77D39 #39A77D
tetradic
#7D39A7 #A74639 #63A739 #399AA7
square
#7D39A7 #A74639 #63A739 #399AA7
split-complementary
#7D39A7 #9AA739 #39A746
monochromatic
#391A4C #5B2979 #7D39A7 #9C57C6 #B785D5

Accessibility & contrast

On white

6.96
#7D39A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D39A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39A7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39A7#FFFFFF#000000##FFFFFF
##7D39A71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#774F6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d39a7;
/* rgb */ color: rgb(125, 57, 167);
/* oklch */ color: oklch(48.6% 0.174 309.9);
Tailwind
colors: {
  custom: {
    50: '#a674c2',
    500: '#7d39a7',
    950: '#000000',
  },
}
SCSS
$custom: #7d39a7;
$custom-light: #a674c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39a7",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 277.091,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.17385,
    "h": 309.9
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#7D39A7
secondary
#96BF7D
accent
#D94F84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D39A7

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

Preview Lab → · Contrast checker → · Palette generator →

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