#7E50E6#7E50E6

#7E50E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.215 H 292.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E50E6
RGBrgb(126, 80, 230)
HSLhsl(258, 75%, 61%)
HSVhsv(258, 65%, 90%)
CMYKcmyk(45.2%, 65.2%, 0%, 9.8%)
CIE-LABlab(46.82, 52.75, -69.53)
CIE-LCHlch(46.82, 87.27, 307.19°)
OKLaboklab(56.44% 0.0812 -0.1989)
OKLCHoklch(56.44% 0.215 292.2)
XYZxyz(25.7518, 15.8853, 76.5569)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E6 #B8E650
analogous
#506DE6 #7E50E6 #C950E6
triadic
#7E50E6 #E67E50 #50E67E
tetradic
#7E50E6 #E6506D #B8E650 #50E6C9
square
#7E50E6 #E6506D #B8E650 #50E6C9
split-complementary
#7E50E6 #E6C950 #6DE650
monochromatic
#4317A4 #581FDA #7E50E6 #A586EE #CDBBF5

Accessibility & contrast

On white

5.03
#7E50E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E50E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E6#FFFFFF#000000##FFFFFF
##7E50E61.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#5F7494
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e50e6;
/* rgb */ color: rgb(126, 80, 230);
/* oklch */ color: oklch(56.4% 0.215 292.2);
Tailwind
colors: {
  custom: {
    50: '#ab84ef',
    500: '#7e50e6',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e6;
$custom-light: #ab84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e6",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 230
  },
  "hsl": {
    "h": 258.4,
    "s": 75,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.21486,
    "h": 292.2
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#7E50E6
secondary
#D4E5AC
accent
#D70E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E50E6

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

Preview Lab → · Contrast checker → · Palette generator →

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