#7E50E8#7E50E8

#7E50E8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.217 H 291.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E50E8
RGBrgb(126, 80, 232)
HSLhsl(258, 77%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(45.7%, 65.5%, 0%, 9%)
CIE-LABlab(46.97, 53.29, -70.42)
CIE-LCHlch(46.97, 88.30, 307.12°)
OKLaboklab(56.6% 0.0809 -0.2015)
OKLCHoklch(56.6% 0.217 291.9)
XYZxyz(26.0343, 15.9983, 78.0445)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E8 #BAE850
analogous
#506EE8 #7E50E8 #CA50E8
triadic
#7E50E8 #E87E50 #50E87E
tetradic
#7E50E8 #E8506E #BAE850 #50E8CA
square
#7E50E8 #E8506E #BAE850 #50E8CA
split-complementary
#7E50E8 #E8CA50 #6EE850
monochromatic
#4216A8 #571DDE #7E50E8 #A686EF #CEBCF6

Accessibility & contrast

On white

5.00
#7E50E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7E50E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E8#FFFFFF#000000##FFFFFF
##7E50E81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#5E7595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e50e8;
/* rgb */ color: rgb(126, 80, 232);
/* oklch */ color: oklch(56.6% 0.217 291.9);
Tailwind
colors: {
  custom: {
    50: '#ab84f0',
    500: '#7e50e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e8;
$custom-light: #ab84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e8",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 258.158,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.21719,
    "h": 291.9
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#7E50E8
secondary
#D5E6AD
accent
#D90D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E50E8

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

Preview Lab → · Contrast checker → · Palette generator →

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