#7E4DD7#7E4DD7

#7E4DD7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.201 H 295.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E4DD7
RGBrgb(126, 77, 215)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.4%, 64.2%, 0%, 15.7%)
CIE-LABlab(45.15, 50.33, -63.72)
CIE-LCHlch(45.15, 81.20, 308.31°)
OKLaboklab(54.89% 0.086 -0.1818)
OKLCHoklch(54.89% 0.201 295.3)
XYZxyz(23.5206, 14.6491, 65.8651)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4DD7 #A6D74D
analogous
#4D61D7 #7E4DD7 #C34DD7
triadic
#7E4DD7 #D77E4D #4DD77E
tetradic
#7E4DD7 #D74D61 #A6D74D #4DD7C3
square
#7E4DD7 #D74D61 #A6D74D #4DD7C3
split-complementary
#7E4DD7 #D7C34D #61D74D
monochromatic
#451F8A #5E2ABC #7E4DD7 #A27FE2 #C6B1ED

Accessibility & contrast

On white

5.34
#7E4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7E4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4DD7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4DD7#FFFFFF#000000##FFFFFF
##7E4DD71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#676D8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e4dd7;
/* rgb */ color: rgb(126, 77, 215);
/* oklch */ color: oklch(54.9% 0.201 295.3);
Tailwind
colors: {
  custom: {
    50: '#aa81e4',
    500: '#7e4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #7e4dd7;
$custom-light: #aa81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4dd7",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 261.304,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.20113,
    "h": 295.3
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#7E4DD7
secondary
#C8DCA4
accent
#E641AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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