#7E50DB#7E50DB

#7E50DB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.202 H 294.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E50DB
RGBrgb(126, 80, 219)
HSLhsl(260, 66%, 59%)
HSVhsv(260, 63%, 86%)
CMYKcmyk(42.5%, 63.5%, 0%, 14.1%)
CIE-LABlab(46.02, 49.80, -64.58)
CIE-LCHlch(46.02, 81.55, 307.64°)
OKLaboklab(55.62% 0.0824 -0.1844)
OKLCHoklch(55.62% 0.202 294.1)
XYZxyz(24.2556, 15.2868, 68.6768)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50DB #ADDB50
analogous
#5067DB #7E50DB #C350DB
triadic
#7E50DB #DB7E50 #50DB7E
tetradic
#7E50DB #DB5067 #ADDB50 #50DBC3
square
#7E50DB #DB5067 #ADDB50 #50DBC3
split-complementary
#7E50DB #DBC350 #67DB50
monochromatic
#451E92 #5C29C5 #7E50DB #A383E5 #C9B6F0

Accessibility & contrast

On white

5.18
#7E50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7E50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50DB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50DB#FFFFFF#000000##FFFFFF
##7E50DB1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#65708E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e50db;
/* rgb */ color: rgb(126, 80, 219);
/* oklch */ color: oklch(55.6% 0.202 294.1);
Tailwind
colors: {
  custom: {
    50: '#aa83e7',
    500: '#7e50db',
    950: '#000000',
  },
}
SCSS
$custom: #7e50db;
$custom-light: #aa83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50db",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 259.856,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.20195,
    "h": 294.1
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#7E50DB
secondary
#CDDFA8
accent
#E93FB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7E50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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