#7E50E5#7E50E5

#7E50E5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.214 H 292.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E50E5
RGBrgb(126, 80, 229)
HSLhsl(259, 74%, 61%)
HSVhsv(259, 65%, 90%)
CMYKcmyk(45%, 65.1%, 0%, 10.2%)
CIE-LABlab(46.75, 52.48, -69.08)
CIE-LCHlch(46.75, 86.75, 307.22°)
OKLaboklab(56.37% 0.0813 -0.1976)
OKLCHoklch(56.37% 0.214 292.4)
XYZxyz(25.6118, 15.8293, 75.8195)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E5 #B7E550
analogous
#506DE5 #7E50E5 #C850E5
triadic
#7E50E5 #E57E50 #50E57E
tetradic
#7E50E5 #E5506D #B7E550 #50E5C8
square
#7E50E5 #E5506D #B7E550 #50E5C8
split-complementary
#7E50E5 #E5C850 #6DE550
monochromatic
#4318A2 #5920D8 #7E50E5 #A585ED #CDBBF5

Accessibility & contrast

On white

5.04
#7E50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E50E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E5#FFFFFF#000000##FFFFFF
##7E50E51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#607494
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e50e5;
/* rgb */ color: rgb(126, 80, 229);
/* oklch */ color: oklch(56.4% 0.214 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab84ee',
    500: '#7e50e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e5;
$custom-light: #ab84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e5",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 258.523,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.21369,
    "h": 292.4
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#7E50E5
secondary
#D3E5AC
accent
#D60F99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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