#7E50FF#7E50FF

#7E50FF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.4% C 0.244 H 288.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E50FF
RGBrgb(126, 80, 255)
HSLhsl(256, 100%, 66%)
HSVhsv(256, 69%, 100%)
CMYKcmyk(50.6%, 68.6%, 0%, 0%)
CIE-LABlab(48.75, 59.50, -80.40)
CIE-LCHlch(48.75, 100.03, 306.51°)
OKLaboklab(58.42% 0.0775 -0.2309)
OKLCHoklch(58.42% 0.244 288.6)
XYZxyz(29.5176, 17.3916, 96.3899)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50FF #D1FF50
analogous
#507AFF #7E50FF #D550FF
triadic
#7E50FF #FF7E50 #50FF7E
tetradic
#7E50FF #FF507A #D1FF50 #50FFD5
square
#7E50FF #FF507A #D1FF50 #50FFD5
split-complementary
#7E50FF #FFD550 #7AFF50
monochromatic
#3800D5 #5113FF #7E50FF #AB8DFF #D8CAFF

Accessibility & contrast

On white

4.69
#7E50FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E50FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50FF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50FF#FFFFFF#000000##FFFFFF
##7E50FF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FFC
Tritanopia (blue-blind)
#4E7DA2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e50ff;
/* rgb */ color: rgb(126, 80, 255);
/* oklch */ color: oklch(58.4% 0.244 288.6);
Tailwind
colors: {
  custom: {
    50: '#ae84ff',
    500: '#7e50ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e50ff;
$custom-light: #ae84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50ff",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 255.771,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.24352,
    "h": 288.6
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#7E50FF
secondary
#E3F3B8
accent
#E600A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #7E50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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