#7D47AF#7D47AF

#7D47AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.162 H 305.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D47AF
RGBrgb(125, 71, 175)
HSLhsl(271, 42%, 48%)
HSVhsv(271, 59%, 69%)
CMYKcmyk(28.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(41.16, 43.13, -46.91)
CIE-LCHlch(41.16, 63.73, 312.59°)
OKLaboklab(51.11% 0.0939 -0.1325)
OKLCHoklch(51.11% 0.162 305.3)
XYZxyz(18.4469, 11.9617, 41.8862)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47AF #79AF47
analogous
#4947AF #7D47AF #AF47AD
triadic
#7D47AF #AF7D47 #47AF7D
tetradic
#7D47AF #AF4947 #79AF47 #47ADAF
square
#7D47AF #AF4947 #79AF47 #47ADAF
split-complementary
#7D47AF #ADAF47 #47AF49
monochromatic
#3F2458 #5E3583 #7D47AF #9B6FC4 #B99AD6

Accessibility & contrast

On white

6.19
#7D47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7D47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47AF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47AF#FFFFFF#000000##FFFFFF
##7D47AF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#745C74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d47af;
/* rgb */ color: rgb(125, 71, 175);
/* oklch */ color: oklch(51.1% 0.162 305.3);
Tailwind
colors: {
  custom: {
    50: '#a67dc7',
    500: '#7d47af',
    950: '#000000',
  },
}
SCSS
$custom: #7d47af;
$custom-light: #a67dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47af",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 271.154,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.16237,
    "h": 305.3
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#7D47AF
secondary
#A8C28F
accent
#D25692
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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