#7E47D6#7E47D6

#7E47D6 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.208 H 296.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7E47D6
RGBrgb(126, 71, 214)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(41.1%, 66.8%, 0%, 16.1%)
CIE-LABlab(43.94, 53.18, -65.11)
CIE-LCHlch(43.94, 84.06, 309.24°)
OKLaboklab(54% 0.0923 -0.1859)
OKLCHoklch(54% 0.208 296.4)
XYZxyz(22.9918, 13.7967, 65.0570)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47D6 #9FD647
analogous
#4757D6 #7E47D6 #C647D6
triadic
#7E47D6 #D67E47 #47D67E
tetradic
#7E47D6 #D64757 #9FD647 #47D6C6
square
#7E47D6 #D64757 #9FD647 #47D6C6
split-complementary
#7E47D6 #D6C647 #57D647
monochromatic
#451E85 #5F29B7 #7E47D6 #A179E1 #C4ABEC

Accessibility & contrast

On white

5.59
#7E47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47D6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47D6#FFFFFF#000000##FFFFFF
##7E47D61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#676989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e47d6;
/* rgb */ color: rgb(126, 71, 214);
/* oklch */ color: oklch(54.0% 0.208 296.4);
Tailwind
colors: {
  custom: {
    50: '#aa7ee4',
    500: '#7e47d6',
    950: '#000000',
  },
}
SCSS
$custom: #7e47d6;
$custom-light: #aa7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47d6",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 263.077,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.20758,
    "h": 296.4
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#7E47D6
secondary
#C3DA9F
accent
#E741A7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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