#7E4DED#7E4DED

#7E4DED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.227 H 291.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E4DED
RGBrgb(126, 77, 237)
HSLhsl(258, 82%, 62%)
HSVhsv(258, 68%, 93%)
CMYKcmyk(46.8%, 67.5%, 0%, 7.1%)
CIE-LABlab(46.79, 56.18, -73.54)
CIE-LCHlch(46.79, 92.54, 307.38°)
OKLaboklab(56.58% 0.0831 -0.2107)
OKLCHoklch(56.58% 0.227 291.5)
XYZxyz(26.5398, 15.8568, 81.7667)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4DED #BCED4D
analogous
#4D6CED #7E4DED #CE4DED
triadic
#7E4DED #ED7E4D #4DED7E
tetradic
#7E4DED #ED4D6C #BCED4D #4DEDCE
square
#7E4DED #ED4D6C #BCED4D #4DEDCE
split-complementary
#7E4DED #EDCE4D #6CED4D
monochromatic
#4112AE #5617E6 #7E4DED #A685F3 #CFBCF8

Accessibility & contrast

On white

5.03
#7E4DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7E4DED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4DED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4DED#FFFFFF#000000##FFFFFF
##7E4DED1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#5B7597
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e4ded;
/* rgb */ color: rgb(126, 77, 237);
/* oklch */ color: oklch(56.6% 0.227 291.5);
Tailwind
colors: {
  custom: {
    50: '#ac82f4',
    500: '#7e4ded',
    950: '#000000',
  },
}
SCSS
$custom: #7e4ded;
$custom-light: #ac82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4ded",
  "rgb": {
    "r": 126,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 258.375,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.22651,
    "h": 291.5
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#7E4DED
secondary
#D6E9AD
accent
#DE079C
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E4DED

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

Preview Lab → · Contrast checker → · Palette generator →

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