#7E47CD#7E47CD

#7E47CD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.197 H 298.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7E47CD
RGBrgb(126, 71, 205)
HSLhsl(265, 57%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(38.5%, 65.4%, 0%, 19.6%)
CIE-LABlab(43.29, 50.87, -60.99)
CIE-LCHlch(43.29, 79.42, 309.83°)
OKLaboklab(53.32% 0.0934 -0.1738)
OKLCHoklch(53.32% 0.197 298.3)
XYZxyz(21.8741, 13.3496, 59.1700)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47CD #96CD47
analogous
#4753CD #7E47CD #C147CD
triadic
#7E47CD #CD7E47 #47CD7E
tetradic
#7E47CD #CD4753 #96CD47 #47CDC1
square
#7E47CD #CD4753 #96CD47 #47CDC1
split-complementary
#7E47CD #CDC147 #53CD47
monochromatic
#452179 #602EA9 #7E47CD #A077DA #C1A7E7

Accessibility & contrast

On white

5.72
#7E47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7E47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47CD#FFFFFF#000000##FFFFFF
##7E47CD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#6B6684
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e47cd;
/* rgb */ color: rgb(126, 71, 205);
/* oklch */ color: oklch(53.3% 0.197 298.3);
Tailwind
colors: {
  custom: {
    50: '#a97edd',
    500: '#7e47cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e47cd;
$custom-light: #a97edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47cd",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 264.627,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53323,
    "c": 0.19734,
    "h": 298.3
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#7E47CD
secondary
#BDD49B
accent
#E147A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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