#7E50E3#7E50E3

#7E50E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.211 H 292.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7E50E3
RGBrgb(126, 80, 227)
HSLhsl(259, 72%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.5%, 64.8%, 0%, 11%)
CIE-LABlab(46.60, 51.94, -68.19)
CIE-LCHlch(46.60, 85.72, 307.30°)
OKLaboklab(56.22% 0.0815 -0.195)
OKLCHoklch(56.22% 0.211 292.7)
XYZxyz(25.3342, 15.7182, 74.3573)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50E3 #B5E350
analogous
#506BE3 #7E50E3 #C850E3
triadic
#7E50E3 #E37E50 #50E37E
tetradic
#7E50E3 #E3506B #B5E350 #50E3C8
square
#7E50E3 #E3506B #B5E350 #50E3C8
split-complementary
#7E50E3 #E3C850 #6BE350
monochromatic
#43199F #5A22D4 #7E50E3 #A585EB #CCBAF4

Accessibility & contrast

On white

5.07
#7E50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7E50E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50E3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50E3#FFFFFF#000000##FFFFFF
##7E50E31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#617393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e50e3;
/* rgb */ color: rgb(126, 80, 227);
/* oklch */ color: oklch(56.2% 0.211 292.7);
Tailwind
colors: {
  custom: {
    50: '#ab84ed',
    500: '#7e50e3',
    950: '#000000',
  },
}
SCSS
$custom: #7e50e3;
$custom-light: #ab84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50e3",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 258.776,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.21135,
    "h": 292.7
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#7E50E3
secondary
#D2E4AB
accent
#D41197
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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