#7E4CC7#7E4CC7

#7E4CC7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.184 H 298.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E4CC7
RGBrgb(126, 76, 199)
HSLhsl(264, 52%, 54%)
HSVhsv(264, 62%, 78%)
CMYKcmyk(36.7%, 61.8%, 0%, 22%)
CIE-LABlab(43.84, 46.70, -56.63)
CIE-LCHlch(43.84, 73.40, 309.51°)
OKLaboklab(53.59% 0.0883 -0.161)
OKLCHoklch(53.59% 0.184 298.8)
XYZxyz(21.4949, 13.7278, 55.5390)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4CC7 #95C74C
analogous
#4C58C7 #7E4CC7 #BB4CC7
triadic
#7E4CC7 #C77E4C #4CC77E
tetradic
#7E4CC7 #C74C58 #95C74C #4CC7BB
square
#7E4CC7 #C74C58 #95C74C #4CC7BB
split-complementary
#7E4CC7 #C7BB4C #58C74C
monochromatic
#452474 #6033A3 #7E4CC7 #A07BD6 #C1A9E4

Accessibility & contrast

On white

5.61
#7E4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7E4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4CC7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4CC7#FFFFFF#000000##FFFFFF
##7E4CC71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#6D6782
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e4cc7;
/* rgb */ color: rgb(126, 76, 199);
/* oklch */ color: oklch(53.6% 0.184 298.8);
Tailwind
colors: {
  custom: {
    50: '#a880d9',
    500: '#7e4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7e4cc7;
$custom-light: #a880d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4cc7",
  "rgb": {
    "r": 126,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 264.39,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.18363,
    "h": 298.8
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#7E4CC7
secondary
#BCD29D
accent
#DC4CA1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7E4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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