#7E47BA#7E47BA

#7E47BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.175 H 302.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7E47BA
RGBrgb(126, 71, 186)
HSLhsl(269, 45%, 50%)
HSVhsv(269, 62%, 73%)
CMYKcmyk(32.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(41.98, 46.08, -52.05)
CIE-LCHlch(41.98, 69.52, 311.51°)
OKLaboklab(51.97% 0.0949 -0.1475)
OKLCHoklch(51.97% 0.175 302.8)
XYZxyz(19.7183, 12.4873, 47.8163)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47BA #83BA47
analogous
#4749BA #7E47BA #B847BA
triadic
#7E47BA #BA7E47 #47BA7E
tetradic
#7E47BA #BA4749 #83BA47 #47BAB8
square
#7E47BA #BA4749 #83BA47 #47BAB8
split-complementary
#7E47BA #BAB847 #49BA47
monochromatic
#422562 #60358E #7E47BA #9D74CB #BCA0DB

Accessibility & contrast

On white

6.00
#7E47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7E47BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47BA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47BA#FFFFFF#000000##FFFFFF
##7E47BA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2563B7
Tritanopia (blue-blind)
#725F7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e47ba;
/* rgb */ color: rgb(126, 71, 186);
/* oklch */ color: oklch(52.0% 0.175 302.8);
Tailwind
colors: {
  custom: {
    50: '#a77dcf',
    500: '#7e47ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e47ba;
$custom-light: #a77dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47ba",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 268.696,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.17544,
    "h": 302.8
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#7E47BA
secondary
#B0C895
accent
#D55397
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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