#7E50E4#7E50E4

#7E50E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.213 H 292.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7E50E4
RGBrgb(126, 80, 228)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.7%, 64.9%, 0%, 10.6%)
CIE-LABlab(46.68, 52.21, -68.64)
CIE-LCHlch(46.68, 86.24, 307.26°)
OKLaboklab(56.29% 0.0814 -0.1963)
OKLCHoklch(56.29% 0.213 292.5)
XYZxyz(25.4726, 15.7736, 75.0862)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E4 #B6E450
analogous
#506CE4 #7E50E4 #C850E4
triadic
#7E50E4 #E47E50 #50E47E
tetradic
#7E50E4 #E4506C #B6E450 #50E4C8
square
#7E50E4 #E4506C #B6E450 #50E4C8
split-complementary
#7E50E4 #E4C850 #6CE450
monochromatic
#4319A1 #5921D6 #7E50E4 #A585EC #CCBAF4

Accessibility & contrast

On white

5.05
#7E50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7E50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50E4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E4#FFFFFF#000000##FFFFFF
##7E50E41.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#607393
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e50e4;
/* rgb */ color: rgb(126, 80, 228);
/* oklch */ color: oklch(56.3% 0.213 292.5);
Tailwind
colors: {
  custom: {
    50: '#ab84ed',
    500: '#7e50e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e4;
$custom-light: #ab84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e4",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 258.649,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.21252,
    "h": 292.5
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#7E50E4
secondary
#D3E4AC
accent
#D51098
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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