#7E50DC#7E50DC

#7E50DC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.203 H 293.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E50DC
RGBrgb(126, 80, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(42.7%, 63.6%, 0%, 13.7%)
CIE-LABlab(46.10, 50.07, -65.03)
CIE-LCHlch(46.10, 82.07, 307.59°)
OKLaboklab(55.69% 0.0823 -0.1857)
OKLCHoklch(55.69% 0.203 293.9)
XYZxyz(24.3876, 15.3396, 69.3722)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50DC #AEDC50
analogous
#5068DC #7E50DC #C450DC
triadic
#7E50DC #DC7E50 #50DC7E
tetradic
#7E50DC #DC5068 #AEDC50 #50DCC4
square
#7E50DC #DC5068 #AEDC50 #50DCC4
split-complementary
#7E50DC #DCC450 #68DC50
monochromatic
#451E94 #5C28C7 #7E50DC #A483E6 #C9B6F0

Accessibility & contrast

On white

5.16
#7E50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7E50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50DC#FFFFFF#000000##FFFFFF
##7E50DC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#64718F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e50dc;
/* rgb */ color: rgb(126, 80, 220);
/* oklch */ color: oklch(55.7% 0.203 293.9);
Tailwind
colors: {
  custom: {
    50: '#aa83e8',
    500: '#7e50dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e50dc;
$custom-light: #aa83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50dc",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 259.714,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.20313,
    "h": 293.9
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#7E50DC
secondary
#CDDFA8
accent
#EA3EB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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