#7E47D4#7E47D4

#7E47D4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.205 H 296.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7E47D4
RGBrgb(126, 71, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(40.6%, 66.5%, 0%, 16.9%)
CIE-LABlab(43.79, 52.66, -64.20)
CIE-LCHlch(43.79, 83.04, 309.36°)
OKLaboklab(53.85% 0.0926 -0.1832)
OKLCHoklch(53.85% 0.205 296.8)
XYZxyz(22.7380, 13.6951, 63.7200)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47D4 #9DD447
analogous
#4756D4 #7E47D4 #C447D4
triadic
#7E47D4 #D47E47 #47D47E
tetradic
#7E47D4 #D44756 #9DD447 #47D4C4
square
#7E47D4 #D44756 #9DD447 #47D4C4
split-complementary
#7E47D4 #D4C447 #56D447
monochromatic
#451E82 #602AB4 #7E47D4 #A179E0 #C4AAEB

Accessibility & contrast

On white

5.62
#7E47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7E47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47D4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47D4#FFFFFF#000000##FFFFFF
##7E47D41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#686888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e47d4;
/* rgb */ color: rgb(126, 71, 212);
/* oklch */ color: oklch(53.8% 0.205 296.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ee2',
    500: '#7e47d4',
    950: '#000000',
  },
}
SCSS
$custom: #7e47d4;
$custom-light: #aa7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47d4",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 263.404,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53847,
    "c": 0.20532,
    "h": 296.8
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#7E47D4
secondary
#C2D99E
accent
#E543A6
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7E47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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