#7D39AE#7D39AE

#7D39AE is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.181 H 307.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7D39AE
RGBrgb(125, 57, 174)
HSLhsl(275, 51%, 45%)
HSVhsv(275, 67%, 68%)
CMYKcmyk(28.2%, 67.2%, 0%, 31.8%)
CIE-LABlab(38.45, 50.07, -50.67)
CIE-LCHlch(38.45, 71.23, 314.66°)
OKLaboklab(49.13% 0.1109 -0.1434)
OKLCHoklch(49.13% 0.181 307.7)
XYZxyz(17.5590, 10.3425, 41.1075)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D39AE #6AAE39
analogous
#4339AE #7D39AE #AE39A4
triadic
#7D39AE #AE7D39 #39AE7D
tetradic
#7D39AE #AE4339 #6AAE39 #39A4AE
square
#7D39AE #AE4339 #6AAE39 #39A4AE
split-complementary
#7D39AE #A4AE39 #39AE43
monochromatic
#3B1B52 #5C2A80 #7D39AE #9B5BC9 #B789D8

Accessibility & contrast

On white

6.84
#7D39AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D39AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D39AE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D39AE#FFFFFF#000000##FFFFFF
##7D39AE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1F5BAB
Tritanopia (blue-blind)
#75526F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d39ae;
/* rgb */ color: rgb(125, 57, 174);
/* oklch */ color: oklch(49.1% 0.181 307.7);
Tailwind
colors: {
  custom: {
    50: '#a774c7',
    500: '#7d39ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d39ae;
$custom-light: #a774c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d39ae",
  "rgb": {
    "r": 125,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 274.872,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.18131,
    "h": 307.7
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#7D39AE
secondary
#9CC380
accent
#DA4E88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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