#7E50DF#7E50DF

#7E50DF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.207 H 293.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7E50DF
RGBrgb(126, 80, 223)
HSLhsl(259, 69%, 59%)
HSVhsv(259, 64%, 87%)
CMYKcmyk(43.5%, 64.1%, 0%, 12.5%)
CIE-LABlab(46.31, 50.87, -66.39)
CIE-LCHlch(46.31, 83.64, 307.46°)
OKLaboklab(55.91% 0.082 -0.1897)
OKLCHoklch(55.91% 0.207 293.4)
XYZxyz(24.7885, 15.4999, 71.4835)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50DF #B1DF50
analogous
#506ADF #7E50DF #C650DF
triadic
#7E50DF #DF7E50 #50DF7E
tetradic
#7E50DF #DF506A #B1DF50 #50DFC6
square
#7E50DF #DF506A #B1DF50 #50DFC6
split-complementary
#7E50DF #DFC650 #6ADF50
monochromatic
#441C99 #5B25CC #7E50DF #A484E8 #CAB7F2

Accessibility & contrast

On white

5.12
#7E50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7E50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50DF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50DF#FFFFFF#000000##FFFFFF
##7E50DF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#637290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e50df;
/* rgb */ color: rgb(126, 80, 223);
/* oklch */ color: oklch(55.9% 0.207 293.4);
Tailwind
colors: {
  custom: {
    50: '#aa84ea',
    500: '#7e50df',
    950: '#000000',
  },
}
SCSS
$custom: #7e50df;
$custom-light: #aa84ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50df",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 259.301,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.20666,
    "h": 293.4
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#7E50DF
secondary
#CFE1AA
accent
#EC3CB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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