#7E47BD#7E47BD

#7E47BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.179 H 302.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E47BD
RGBrgb(126, 71, 189)
HSLhsl(268, 47%, 51%)
HSVhsv(268, 62%, 74%)
CMYKcmyk(33.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(42.18, 46.82, -53.49)
CIE-LCHlch(42.18, 71.09, 311.20°)
OKLaboklab(52.17% 0.0948 -0.1518)
OKLCHoklch(52.17% 0.179 302)
XYZxyz(20.0406, 12.6162, 49.5136)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47BD #86BD47
analogous
#474BBD #7E47BD #B947BD
triadic
#7E47BD #BD7E47 #47BD7E
tetradic
#7E47BD #BD474B #86BD47 #47BDB9
square
#7E47BD #BD474B #86BD47 #47BDB9
split-complementary
#7E47BD #BDB947 #4BBD47
monochromatic
#432465 #603492 #7E47BD #9E74CD #BDA1DD

Accessibility & contrast

On white

5.96
#7E47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7E47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47BD#FFFFFF#000000##FFFFFF
##7E47BD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2163BA
Tritanopia (blue-blind)
#71607B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e47bd;
/* rgb */ color: rgb(126, 71, 189);
/* oklch */ color: oklch(52.2% 0.179 302.0);
Tailwind
colors: {
  custom: {
    50: '#a87dd2',
    500: '#7e47bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e47bd;
$custom-light: #a87dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47bd",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 267.966,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.17893,
    "h": 302
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#7E47BD
secondary
#B2CA96
accent
#D75198
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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