#7D47AE#7D47AE

#7D47AE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.161 H 305.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7D47AE
RGBrgb(125, 71, 174)
HSLhsl(271, 42%, 48%)
HSVhsv(271, 59%, 68%)
CMYKcmyk(28.2%, 59.2%, 0%, 31.8%)
CIE-LABlab(41.09, 42.89, -46.42)
CIE-LCHlch(41.09, 63.20, 312.73°)
OKLaboklab(51.05% 0.0939 -0.131)
OKLCHoklch(51.05% 0.161 305.6)
XYZxyz(18.3490, 11.9226, 41.3708)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47AE #78AE47
analogous
#4947AE #7D47AE #AE47AB
triadic
#7D47AE #AE7D47 #47AE7D
tetradic
#7D47AE #AE4947 #78AE47 #47ABAE
square
#7D47AE #AE4947 #78AE47 #47ABAE
split-complementary
#7D47AE #ABAE47 #47AE49
monochromatic
#3F2457 #5E3583 #7D47AE #9B6EC4 #B99AD6

Accessibility & contrast

On white

6.20
#7D47AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7D47AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47AE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47AE#FFFFFF#000000##FFFFFF
##7D47AE1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#755B74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d47ae;
/* rgb */ color: rgb(125, 71, 174);
/* oklch */ color: oklch(51.0% 0.161 305.6);
Tailwind
colors: {
  custom: {
    50: '#a67dc7',
    500: '#7d47ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d47ae;
$custom-light: #a67dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47ae",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 271.456,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.16119,
    "h": 305.6
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#7D47AE
secondary
#A7C28F
accent
#D25691
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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