#7E4DD6#7E4DD6

#7E4DD6 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.200 H 295.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E4DD6
RGBrgb(126, 77, 214)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.1%, 64%, 0%, 16.1%)
CIE-LABlab(45.08, 50.07, -63.26)
CIE-LCHlch(45.08, 80.68, 308.36°)
OKLaboklab(54.82% 0.0861 -0.1805)
OKLCHoklch(54.82% 0.2 295.5)
XYZxyz(23.3925, 14.5979, 65.1905)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4DD6 #A5D64D
analogous
#4D61D6 #7E4DD6 #C34DD6
triadic
#7E4DD6 #D67E4D #4DD67E
tetradic
#7E4DD6 #D64D61 #A5D64D #4DD6C3
square
#7E4DD6 #D64D61 #A5D64D #4DD6C3
split-complementary
#7E4DD6 #D6C34D #61D64D
monochromatic
#452089 #5E2BBB #7E4DD6 #A27FE1 #C6B0ED

Accessibility & contrast

On white

5.36
#7E4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4DD6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4DD6#FFFFFF#000000##FFFFFF
##7E4DD61.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e4dd6;
/* rgb */ color: rgb(126, 77, 214);
/* oklch */ color: oklch(54.8% 0.200 295.5);
Tailwind
colors: {
  custom: {
    50: '#aa81e3',
    500: '#7e4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #7e4dd6;
$custom-light: #aa81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4dd6",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 261.46,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.19996,
    "h": 295.5
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#7E4DD6
secondary
#C7DBA4
accent
#E642AB
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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