#7E50D7#7E50D7

#7E50D7 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.197 H 294.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E50D7
RGBrgb(126, 80, 215)
HSLhsl(260, 63%, 58%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(41.4%, 62.8%, 0%, 15.7%)
CIE-LABlab(45.74, 48.73, -62.76)
CIE-LCHlch(45.74, 79.46, 307.83°)
OKLaboklab(55.32% 0.0827 -0.179)
OKLCHoklch(55.32% 0.197 294.8)
XYZxyz(23.7353, 15.0787, 65.9367)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50D7 #A9D750
analogous
#5066D7 #7E50D7 #C150D7
triadic
#7E50D7 #D77E50 #50D77E
tetradic
#7E50D7 #D75066 #A9D750 #50D7C1
square
#7E50D7 #D75066 #A9D750 #50D7C1
split-complementary
#7E50D7 #D7C150 #66D750
monochromatic
#45208C #5E2BBE #7E50D7 #A382E2 #C7B4EE

Accessibility & contrast

On white

5.23
#7E50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7E50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50D7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50D7#FFFFFF#000000##FFFFFF
##7E50D71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#676F8C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e50d7;
/* rgb */ color: rgb(126, 80, 215);
/* oklch */ color: oklch(55.3% 0.197 294.8);
Tailwind
colors: {
  custom: {
    50: '#a983e4',
    500: '#7e50d7',
    950: '#000000',
  },
}
SCSS
$custom: #7e50d7;
$custom-light: #a983e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50d7",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 260.444,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55321,
    "c": 0.1972,
    "h": 294.8
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#7E50D7
secondary
#CADCA6
accent
#E642AE
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7E50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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