#7E5DED#7E5DED

#7E5DED is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.207 H 289.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E5DED
RGBrgb(126, 93, 237)
HSLhsl(254, 80%, 65%)
HSVhsv(254, 61%, 93%)
CMYKcmyk(46.8%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.95, 47.63, -68.39)
CIE-LCHlch(49.95, 83.34, 304.85°)
OKLaboklab(58.87% 0.0673 -0.1956)
OKLCHoklch(58.87% 0.207 289)
XYZxyz(27.8002, 18.3776, 82.1868)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5DED #CCED5D
analogous
#5D84ED #7E5DED #C65DED
triadic
#7E5DED #ED7E5D #5DED7E
tetradic
#7E5DED #ED5D84 #CCED5D #5DEDC6
square
#7E5DED #ED5D84 #CCED5D #5DEDC6
split-complementary
#7E5DED #EDC65D #84ED5D
monochromatic
#3B15BB #5226E7 #7E5DED #AA94F3 #D6CBF9

Accessibility & contrast

On white

4.49
#7E5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E5DED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5DED#FFFFFF#000000##000000
##7E5DED1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#5A7F9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e5ded;
/* rgb */ color: rgb(126, 93, 237);
/* oklch */ color: oklch(58.9% 0.207 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab8cf4',
    500: '#7e5ded',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ded;
$custom-light: #ab8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ded",
  "rgb": {
    "r": 126,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 253.75,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5887,
    "c": 0.20684,
    "h": 289
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#7E5DED
secondary
#E0ECBA
accent
#DC09AC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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