#7D48AE#7D48AE

#7D48AE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.160 H 305.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7D48AE
RGBrgb(125, 72, 174)
HSLhsl(271, 41%, 48%)
HSVhsv(271, 59%, 68%)
CMYKcmyk(28.2%, 58.6%, 0%, 31.8%)
CIE-LABlab(41.30, 42.34, -46.10)
CIE-LCHlch(41.30, 62.59, 312.57°)
OKLaboklab(51.2% 0.0926 -0.1301)
OKLCHoklch(51.2% 0.16 305.4)
XYZxyz(18.4131, 12.0508, 41.3922)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D48AE #79AE48
analogous
#4A48AE #7D48AE #AE48AC
triadic
#7D48AE #AE7D48 #48AE7D
tetradic
#7D48AE #AE4A48 #79AE48 #48ACAE
square
#7D48AE #AE4A48 #79AE48 #48ACAE
split-complementary
#7D48AE #ACAE48 #48AE4A
monochromatic
#3F2457 #5E3683 #7D48AE #9B70C4 #B99BD6

Accessibility & contrast

On white

6.16
#7D48AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7D48AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D48AE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D48AE#FFFFFF#000000##FFFFFF
##7D48AE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#755C74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d48ae;
/* rgb */ color: rgb(125, 72, 174);
/* oklch */ color: oklch(51.2% 0.160 305.4);
Tailwind
colors: {
  custom: {
    50: '#a67dc7',
    500: '#7d48ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d48ae;
$custom-light: #a67dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d48ae",
  "rgb": {
    "r": 125,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 271.176,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.15967,
    "h": 305.4
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#7D48AE
secondary
#A8C290
accent
#D15791
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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