#7D50E5#7D50E5

#7D50E5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.214 H 292.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D50E5
RGBrgb(125, 80, 229)
HSLhsl(258, 74%, 61%)
HSVhsv(258, 65%, 90%)
CMYKcmyk(45.4%, 65.1%, 0%, 10.2%)
CIE-LABlab(46.65, 52.29, -69.25)
CIE-LCHlch(46.65, 86.77, 307.06°)
OKLaboklab(56.27% 0.08 -0.1981)
OKLCHoklch(56.27% 0.214 292)
XYZxyz(25.4650, 15.7536, 75.8126)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50E5 #B8E550
analogous
#506DE5 #7D50E5 #C750E5
triadic
#7D50E5 #E57D50 #50E57D
tetradic
#7D50E5 #E5506D #B8E550 #50E5C7
square
#7D50E5 #E5506D #B8E550 #50E5C7
split-complementary
#7D50E5 #E5C750 #6DE550
monochromatic
#4218A2 #5820D8 #7D50E5 #A585ED #CCBBF5

Accessibility & contrast

On white

5.06
#7D50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50E5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50E5#FFFFFF#000000##FFFFFF
##7D50E51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#5E7494
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d50e5;
/* rgb */ color: rgb(125, 80, 229);
/* oklch */ color: oklch(56.3% 0.214 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa84ee',
    500: '#7d50e5',
    950: '#000000',
  },
}
SCSS
$custom: #7d50e5;
$custom-light: #aa84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50e5",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 258.121,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.21368,
    "h": 292
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#7D50E5
secondary
#D4E5AC
accent
#D60F9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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