#7D47B8#7D47B8

#7D47B8 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.173 H 302.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7D47B8
RGBrgb(125, 71, 184)
HSLhsl(269, 44%, 50%)
HSVhsv(269, 61%, 72%)
CMYKcmyk(32.1%, 61.4%, 0%, 27.8%)
CIE-LABlab(41.73, 45.35, -51.29)
CIE-LCHlch(41.73, 68.46, 311.48°)
OKLaboklab(51.72% 0.0937 -0.1453)
OKLCHoklch(51.72% 0.173 302.8)
XYZxyz(19.3604, 12.3271, 46.6975)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47B8 #82B847
analogous
#4749B8 #7D47B8 #B647B8
triadic
#7D47B8 #B87D47 #47B87D
tetradic
#7D47B8 #B84749 #82B847 #47B8B6
square
#7D47B8 #B84749 #82B847 #47B8B6
split-complementary
#7D47B8 #B8B647 #49B847
monochromatic
#412560 #5F368C #7D47B8 #9C73C9 #BB9FDA

Accessibility & contrast

On white

6.06
#7D47B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7D47B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47B8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47B8#FFFFFF#000000##FFFFFF
##7D47B81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#2762B5
Tritanopia (blue-blind)
#725F79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d47b8;
/* rgb */ color: rgb(125, 71, 184);
/* oklch */ color: oklch(51.7% 0.173 302.8);
Tailwind
colors: {
  custom: {
    50: '#a77dce',
    500: '#7d47b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d47b8;
$custom-light: #a77dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47b8",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 268.673,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.17291,
    "h": 302.8
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#7D47B8
secondary
#AFC794
accent
#D45497
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D47B8

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

Preview Lab → · Contrast checker → · Palette generator →

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