#7E4EDF#7E4EDF

#7E4EDF is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.209 H 293.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E4EDF
RGBrgb(126, 78, 223)
HSLhsl(260, 69%, 59%)
HSVhsv(260, 65%, 87%)
CMYKcmyk(43.5%, 65%, 0%, 12.5%)
CIE-LABlab(45.92, 51.93, -67.02)
CIE-LCHlch(45.92, 84.78, 307.77°)
OKLaboklab(55.63% 0.084 -0.1916)
OKLCHoklch(55.63% 0.209 293.7)
XYZxyz(24.6442, 15.2114, 71.4354)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4EDF #AFDF4E
analogous
#4E67DF #7E4EDF #C74EDF
triadic
#7E4EDF #DF7E4E #4EDF7E
tetradic
#7E4EDF #DF4E67 #AFDF4E #4EDFC7
square
#7E4EDF #DF4E67 #AFDF4E #4EDFC7
split-complementary
#7E4EDF #DFC74E #67DF4E
monochromatic
#441B97 #5C25CB #7E4EDF #A482E8 #CAB6F2

Accessibility & contrast

On white

5.19
#7E4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E4EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4EDF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4EDF#FFFFFF#000000##FFFFFF
##7E4EDF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#637090
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e4edf;
/* rgb */ color: rgb(126, 78, 223);
/* oklch */ color: oklch(55.6% 0.209 293.7);
Tailwind
colors: {
  custom: {
    50: '#aa82ea',
    500: '#7e4edf',
    950: '#000000',
  },
}
SCSS
$custom: #7e4edf;
$custom-light: #aa82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4edf",
  "rgb": {
    "r": 126,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 259.862,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.20919,
    "h": 293.7
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#7E4EDF
secondary
#CEE1A8
accent
#EC3CB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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