#7E47BE#7E47BE

#7E47BE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.180 H 301.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7E47BE
RGBrgb(126, 71, 190)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 63%, 75%)
CMYKcmyk(33.7%, 62.6%, 0%, 25.5%)
CIE-LABlab(42.25, 47.07, -53.97)
CIE-LCHlch(42.25, 71.61, 311.10°)
OKLaboklab(52.24% 0.0947 -0.1532)
OKLCHoklch(52.24% 0.18 301.7)
XYZxyz(20.1495, 12.6597, 50.0872)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47BE #87BE47
analogous
#474BBE #7E47BE #B947BE
triadic
#7E47BE #BE7E47 #47BE7E
tetradic
#7E47BE #BE474B #87BE47 #47BEB9
square
#7E47BE #BE474B #87BE47 #47BEB9
split-complementary
#7E47BE #BEB947 #4BBE47
monochromatic
#432466 #603494 #7E47BE #9E74CE #BDA1DE

Accessibility & contrast

On white

5.95
#7E47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7E47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47BE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47BE#FFFFFF#000000##FFFFFF
##7E47BE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#1F63BB
Tritanopia (blue-blind)
#71617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7e47be;
/* rgb */ color: rgb(126, 71, 190);
/* oklch */ color: oklch(52.2% 0.180 301.7);
Tailwind
colors: {
  custom: {
    50: '#a87dd2',
    500: '#7e47be',
    950: '#000000',
  },
}
SCSS
$custom: #7e47be;
$custom-light: #a87dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47be",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 267.731,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.18008,
    "h": 301.7
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#7E47BE
secondary
#B2CB96
accent
#D75099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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