#7D4EE7#7D4EE7

#7D4EE7 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.218 H 292.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE7
RGBrgb(125, 78, 231)
HSLhsl(258, 76%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(45.9%, 66.2%, 0%, 9.4%)
CIE-LABlab(46.42, 53.88, -70.76)
CIE-LCHlch(46.42, 88.94, 307.29°)
OKLaboklab(56.15% 0.0817 -0.2026)
OKLCHoklch(56.15% 0.218 292)
XYZxyz(25.6016, 15.5774, 77.2436)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE7 #B8E74E
analogous
#4E6CE7 #7D4EE7 #C94EE7
triadic
#7D4EE7 #E77D4E #4EE77D
tetradic
#7D4EE7 #E74E6C #B8E74E #4EE7C9
square
#7D4EE7 #E74E6C #B8E74E #4EE7C9
split-complementary
#7D4EE7 #E7C94E #6CE74E
monochromatic
#4216A4 #581EDA #7D4EE7 #A584EE #CCBAF6

Accessibility & contrast

On white

5.10
#7D4EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D4EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE7#FFFFFF#000000##FFFFFF
##7D4EE71.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#5D7394
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4ee7;
/* rgb */ color: rgb(125, 78, 231);
/* oklch */ color: oklch(56.1% 0.218 292.0);
Tailwind
colors: {
  custom: {
    50: '#ab82f0',
    500: '#7d4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee7;
$custom-light: #ab82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee7",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 258.431,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.21844,
    "h": 292
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#7D4EE7
secondary
#D4E5AB
accent
#D80D9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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