#7E47BB#7E47BB

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

Color values

HEX#7E47BB
RGBrgb(126, 71, 187)
HSLhsl(268, 46%, 51%)
HSVhsv(268, 62%, 73%)
CMYKcmyk(32.6%, 62%, 0%, 26.7%)
CIE-LABlab(42.05, 46.33, -52.53)
CIE-LCHlch(42.05, 70.04, 311.41°)
OKLaboklab(52.03% 0.0949 -0.1489)
OKLCHoklch(52.03% 0.177 302.5)
XYZxyz(19.8250, 12.5299, 48.3782)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47BB #84BB47
analogous
#474ABB #7E47BB #B847BB
triadic
#7E47BB #BB7E47 #47BB7E
tetradic
#7E47BB #BB474A #84BB47 #47BBB8
square
#7E47BB #BB474A #84BB47 #47BBB8
split-complementary
#7E47BB #BBB847 #4ABB47
monochromatic
#422563 #603590 #7E47BB #9D74CC #BDA0DC

Accessibility & contrast

On white

5.99
#7E47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7E47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47BB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47BB#FFFFFF#000000##FFFFFF
##7E47BB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#725F7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e47bb;
/* rgb */ color: rgb(126, 71, 187);
/* oklch */ color: oklch(52.0% 0.177 302.5);
Tailwind
colors: {
  custom: {
    50: '#a77dd0',
    500: '#7e47bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e47bb;
$custom-light: #a77dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47bb",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 268.448,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.17661,
    "h": 302.5
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#7E47BB
secondary
#B0C995
accent
#D65297
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7E47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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