#7E50ED#7E50ED

#7E50ED is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.223 H 291.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7E50ED
RGBrgb(126, 80, 237)
HSLhsl(258, 81%, 62%)
HSVhsv(258, 66%, 93%)
CMYKcmyk(46.8%, 66.2%, 0%, 7.1%)
CIE-LABlab(47.35, 54.63, -72.62)
CIE-LCHlch(47.35, 90.88, 306.95°)
OKLaboklab(56.99% 0.0803 -0.208)
OKLCHoklch(56.99% 0.223 291.1)
XYZxyz(26.7546, 16.2864, 81.8382)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50ED #BFED50
analogous
#5070ED #7E50ED #CD50ED
triadic
#7E50ED #ED7E50 #50ED7E
tetradic
#7E50ED #ED5070 #BFED50 #50EDCD
square
#7E50ED #ED5070 #BFED50 #50EDCD
split-complementary
#7E50ED #EDCD50 #70ED50
monochromatic
#4112B0 #5519E7 #7E50ED #A787F3 #D0BFF8

Accessibility & contrast

On white

4.93
#7E50ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7E50ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50ED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50ED#FFFFFF#000000##FFFFFF
##7E50ED1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#5B7798
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e50ed;
/* rgb */ color: rgb(126, 80, 237);
/* oklch */ color: oklch(57.0% 0.223 291.1);
Tailwind
colors: {
  custom: {
    50: '#ac84f4',
    500: '#7e50ed',
    950: '#000000',
  },
}
SCSS
$custom: #7e50ed;
$custom-light: #ac84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50ed",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 237
  },
  "hsl": {
    "h": 257.58,
    "s": 81.347,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.22298,
    "h": 291.1
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#7E50ED
secondary
#D8E9B0
accent
#DE089F
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E50ED

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

Preview Lab → · Contrast checker → · Palette generator →

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