#7D50EC#7D50EC

#7D50EC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.222 H 290.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7D50EC
RGBrgb(125, 80, 236)
HSLhsl(257, 80%, 62%)
HSVhsv(257, 66%, 93%)
CMYKcmyk(47%, 66.1%, 0%, 7.5%)
CIE-LABlab(47.17, 54.19, -72.35)
CIE-LCHlch(47.17, 90.39, 306.83°)
OKLaboklab(56.81% 0.0791 -0.2072)
OKLCHoklch(56.81% 0.222 290.9)
XYZxyz(26.4622, 16.1524, 81.0641)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50EC #BFEC50
analogous
#5071EC #7D50EC #CB50EC
triadic
#7D50EC #EC7D50 #50EC7D
tetradic
#7D50EC #EC5071 #BFEC50 #50ECCB
square
#7D50EC #EC5071 #BFEC50 #50ECCB
split-complementary
#7D50EC #ECCB50 #71EC50
monochromatic
#4013AF #5419E6 #7D50EC #A687F2 #CFBEF8

Accessibility & contrast

On white

4.96
#7D50EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7D50EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50EC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50EC#FFFFFF#000000##FFFFFF
##7D50EC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#5A7697
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d50ec;
/* rgb */ color: rgb(125, 80, 236);
/* oklch */ color: oklch(56.8% 0.222 290.9);
Tailwind
colors: {
  custom: {
    50: '#ab84f3',
    500: '#7d50ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d50ec;
$custom-light: #ab84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50ec",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 257.308,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.22182,
    "h": 290.9
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#7D50EC
secondary
#D8E9AF
accent
#DD09A0
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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