#7D47DA#7D47DA

#7D47DA is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.212 H 295.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7D47DA
RGBrgb(125, 71, 218)
HSLhsl(262, 67%, 57%)
HSVhsv(262, 67%, 85%)
CMYKcmyk(42.7%, 67.4%, 0%, 14.5%)
CIE-LABlab(44.13, 54.03, -67.09)
CIE-LCHlch(44.13, 86.14, 308.84°)
OKLaboklab(54.2% 0.0904 -0.1918)
OKLCHoklch(54.2% 0.212 295.2)
XYZxyz(23.3622, 13.9278, 67.7735)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47DA #A4DA47
analogous
#475BDA #7D47DA #C747DA
triadic
#7D47DA #DA7D47 #47DA7D
tetradic
#7D47DA #DA475B #A4DA47 #47DAC7
square
#7D47DA #DA475B #A4DA47 #47DAC7
split-complementary
#7D47DA #DAC747 #5BDA47
monochromatic
#451C8B #5E26BE #7D47DA #A17AE4 #C5ADEE

Accessibility & contrast

On white

5.55
#7D47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47DA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47DA#FFFFFF#000000##FFFFFF
##7D47DA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#646B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7d47da;
/* rgb */ color: rgb(125, 71, 218);
/* oklch */ color: oklch(54.2% 0.212 295.2);
Tailwind
colors: {
  custom: {
    50: '#aa7ee6',
    500: '#7d47da',
    950: '#000000',
  },
}
SCSS
$custom: #7d47da;
$custom-light: #aa7ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47da",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 262.041,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.21203,
    "h": 295.2
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#7D47DA
secondary
#C6DCA0
accent
#E93EAB
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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