#7D4EE4#7D4EE4

#7D4EE4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.215 H 292.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE4
RGBrgb(125, 78, 228)
HSLhsl(259, 74%, 60%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.2%, 65.8%, 0%, 10.6%)
CIE-LABlab(46.19, 53.07, -69.43)
CIE-LCHlch(46.19, 87.39, 307.39°)
OKLaboklab(55.92% 0.0821 -0.1987)
OKLCHoklch(55.92% 0.215 292.4)
XYZxyz(25.1816, 15.4094, 75.0313)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE4 #B5E44E
analogous
#4E6AE4 #7D4EE4 #C84EE4
triadic
#7D4EE4 #E47D4E #4EE47D
tetradic
#7D4EE4 #E44E6A #B5E44E #4EE4C8
square
#7D4EE4 #E44E6A #B5E44E #4EE4C8
split-complementary
#7D4EE4 #E4C84E #6AE44E
monochromatic
#43189F #5920D4 #7D4EE4 #A483EC #CBB8F4

Accessibility & contrast

On white

5.14
#7D4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7D4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE4#FFFFFF#000000##FFFFFF
##7D4EE41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#5E7292
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4ee4;
/* rgb */ color: rgb(125, 78, 228);
/* oklch */ color: oklch(55.9% 0.215 292.4);
Tailwind
colors: {
  custom: {
    50: '#aa82ed',
    500: '#7d4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee4;
$custom-light: #aa82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee4",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 258.8,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.21497,
    "h": 292.4
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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