#7E50D5#7E50D5

#7E50D5 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.195 H 295.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7E50D5
RGBrgb(126, 80, 213)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 62%, 84%)
CMYKcmyk(40.8%, 62.4%, 0%, 16.5%)
CIE-LABlab(45.60, 48.20, -61.84)
CIE-LCHlch(45.60, 78.41, 307.94°)
OKLaboklab(55.18% 0.0829 -0.1763)
OKLCHoklch(55.18% 0.195 295.2)
XYZxyz(23.4799, 14.9765, 64.5916)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E50D5 #A7D550
analogous
#5065D5 #7E50D5 #C150D5
triadic
#7E50D5 #D57E50 #50D57E
tetradic
#7E50D5 #D55065 #A7D550 #50D5C1
square
#7E50D5 #D55065 #A7D550 #50D5C1
split-complementary
#7E50D5 #D5C150 #65D550
monochromatic
#45218A #5E2DBB #7E50D5 #A281E1 #C7B3ED

Accessibility & contrast

On white

5.26
#7E50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7E50D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E50D5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E50D5#FFFFFF#000000##FFFFFF
##7E50D51.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#676E8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e50d5;
/* rgb */ color: rgb(126, 80, 213);
/* oklch */ color: oklch(55.2% 0.195 295.2);
Tailwind
colors: {
  custom: {
    50: '#a983e3',
    500: '#7e50d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e50d5;
$custom-light: #a983e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e50d5",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 260.752,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.19482,
    "h": 295.2
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#7E50D5
secondary
#C9DBA6
accent
#E443AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7E50D5

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

Preview Lab → · Contrast checker → · Palette generator →

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