#7E47D2#7E47D2

#7E47D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.203 H 297.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E47D2
RGBrgb(126, 71, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 66%, 82%)
CMYKcmyk(40%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.65, 52.15, -63.29)
CIE-LCHlch(43.65, 82.01, 309.49°)
OKLaboklab(53.7% 0.0929 -0.1806)
OKLCHoklch(53.7% 0.203 297.2)
XYZxyz(22.4873, 13.5948, 62.3996)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E47D2 #9BD247
analogous
#4755D2 #7E47D2 #C447D2
triadic
#7E47D2 #D27E47 #47D27E
tetradic
#7E47D2 #D24755 #9BD247 #47D2C4
square
#7E47D2 #D24755 #9BD247 #47D2C4
split-complementary
#7E47D2 #D2C447 #55D247
monochromatic
#451F7F #602BB1 #7E47D2 #A078DE #C3A9EA

Accessibility & contrast

On white

5.65
#7E47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E47D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E47D2#FFFFFF#000000##FFFFFF
##7E47D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#696887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e47d2;
/* rgb */ color: rgb(126, 71, 210);
/* oklch */ color: oklch(53.7% 0.203 297.2);
Tailwind
colors: {
  custom: {
    50: '#a97ee1',
    500: '#7e47d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e47d2;
$custom-light: #a97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e47d2",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 263.741,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.20305,
    "h": 297.2
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#7E47D2
secondary
#C0D89D
accent
#E444A5
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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