#7E47CC#7E47CC

#7E47CC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.196 H 298.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E47CC
RGBrgb(126, 71, 204)
HSLhsl(265, 57%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(38.2%, 65.2%, 0%, 20%)
CIE-LABlab(43.21, 50.61, -60.53)
CIE-LCHlch(43.21, 78.90, 309.90°)
OKLaboklab(53.25% 0.0935 -0.1725)
OKLCHoklch(53.25% 0.196 298.5)
XYZxyz(21.7538, 13.3014, 58.5364)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47CC #95CC47
analogous
#4753CC #7E47CC #C147CC
triadic
#7E47CC #CC7E47 #47CC7E
tetradic
#7E47CC #CC4753 #95CC47 #47CCC1
square
#7E47CC #CC4753 #95CC47 #47CCC1
split-complementary
#7E47CC #CCC147 #53CC47
monochromatic
#452177 #602EA7 #7E47CC #A077D9 #C1A7E7

Accessibility & contrast

On white

5.74
#7E47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7E47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47CC#FFFFFF#000000##FFFFFF
##7E47CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#6C6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e47cc;
/* rgb */ color: rgb(126, 71, 204);
/* oklch */ color: oklch(53.2% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#a97ddc',
    500: '#7e47cc',
    950: '#000000',
  },
}
SCSS
$custom: #7e47cc;
$custom-light: #a97ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47cc",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 264.812,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.1962,
    "h": 298.5
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#7E47CC
secondary
#BCD49B
accent
#E048A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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