#7E47AF#7E47AF

#7E47AF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.163 H 305.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7E47AF
RGBrgb(126, 71, 175)
HSLhsl(272, 42%, 48%)
HSVhsv(272, 59%, 69%)
CMYKcmyk(28%, 59.4%, 0%, 31.4%)
CIE-LABlab(41.28, 43.38, -46.71)
CIE-LCHlch(41.28, 63.75, 312.88°)
OKLaboklab(51.23% 0.0952 -0.1319)
OKLCHoklch(51.23% 0.163 305.8)
XYZxyz(18.5936, 12.0374, 41.8930)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47AF #78AF47
analogous
#4A47AF #7E47AF #AF47AC
triadic
#7E47AF #AF7E47 #47AF7E
tetradic
#7E47AF #AF4A47 #78AF47 #47ACAF
square
#7E47AF #AF4A47 #78AF47 #47ACAF
split-complementary
#7E47AF #ACAF47 #47AF4A
monochromatic
#3F2458 #5F3583 #7E47AF #9C6FC4 #BA9AD6

Accessibility & contrast

On white

6.16
#7E47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7E47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47AF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47AF#FFFFFF#000000##FFFFFF
##7E47AF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#765B74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e47af;
/* rgb */ color: rgb(126, 71, 175);
/* oklch */ color: oklch(51.2% 0.163 305.8);
Tailwind
colors: {
  custom: {
    50: '#a77dc7',
    500: '#7e47af',
    950: '#000000',
  },
}
SCSS
$custom: #7e47af;
$custom-light: #a77dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47af",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 271.731,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51226,
    "c": 0.16264,
    "h": 305.8
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#7E47AF
secondary
#A7C28F
accent
#D25690
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7E47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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