#7D4EE5#7D4EE5

#7D4EE5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.216 H 292.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE5
RGBrgb(125, 78, 229)
HSLhsl(259, 74%, 60%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(45.4%, 65.9%, 0%, 10.2%)
CIE-LABlab(46.26, 53.34, -69.87)
CIE-LCHlch(46.26, 87.91, 307.36°)
OKLaboklab(55.99% 0.082 -0.2)
OKLCHoklch(55.99% 0.216 292.3)
XYZxyz(25.3208, 15.4651, 75.7645)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE5 #B6E54E
analogous
#4E6BE5 #7D4EE5 #C84EE5
triadic
#7D4EE5 #E57D4E #4EE57D
tetradic
#7D4EE5 #E54E6B #B6E54E #4EE5C8
square
#7D4EE5 #E54E6B #B6E54E #4EE5C8
split-complementary
#7D4EE5 #E5C84E #6BE54E
monochromatic
#4218A1 #581FD6 #7D4EE5 #A483ED #CBB9F5

Accessibility & contrast

On white

5.13
#7D4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7D4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE5#FFFFFF#000000##FFFFFF
##7D4EE51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#5E7393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4ee5;
/* rgb */ color: rgb(125, 78, 229);
/* oklch */ color: oklch(56.0% 0.216 292.3);
Tailwind
colors: {
  custom: {
    50: '#aa82ee',
    500: '#7d4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee5;
$custom-light: #aa82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee5",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 258.675,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.21612,
    "h": 292.3
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#7D4EE5
secondary
#D2E4AA
accent
#D70F98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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