#7E50E9#7E50E9

#7E50E9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.218 H 291.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E50E9
RGBrgb(126, 80, 233)
HSLhsl(258, 78%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(45.9%, 65.7%, 0%, 8.6%)
CIE-LABlab(47.05, 53.55, -70.86)
CIE-LCHlch(47.05, 88.82, 307.08°)
OKLaboklab(56.67% 0.0808 -0.2028)
OKLCHoklch(56.67% 0.218 291.7)
XYZxyz(26.1767, 16.0552, 78.7947)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E9 #BBE950
analogous
#506FE9 #7E50E9 #CB50E9
triadic
#7E50E9 #E97E50 #50E97E
tetradic
#7E50E9 #E9506F #BBE950 #50E9CB
square
#7E50E9 #E9506F #BBE950 #50E9CB
split-complementary
#7E50E9 #E9CB50 #6FE950
monochromatic
#4215A9 #571CE0 #7E50E9 #A686F0 #CEBDF7

Accessibility & contrast

On white

4.99
#7E50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E50E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50E9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E9#FFFFFF#000000##FFFFFF
##7E50E91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5D7596
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e50e9;
/* rgb */ color: rgb(126, 80, 233);
/* oklch */ color: oklch(56.7% 0.218 291.7);
Tailwind
colors: {
  custom: {
    50: '#ab84f1',
    500: '#7e50e9',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e9;
$custom-light: #ab84f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e9",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 258.039,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.21834,
    "h": 291.7
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

primary
#7E50E9
secondary
#D6E7AE
accent
#DA0C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7E50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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