#7D4EE2#7D4EE2

#7D4EE2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.213 H 292.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE2
RGBrgb(125, 78, 226)
HSLhsl(259, 72%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.7%, 65.5%, 0%, 11.4%)
CIE-LABlab(46.04, 52.54, -68.54)
CIE-LCHlch(46.04, 86.36, 307.47°)
OKLaboklab(55.76% 0.0823 -0.196)
OKLCHoklch(55.76% 0.213 292.8)
XYZxyz(24.9055, 15.2990, 73.5775)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE2 #B3E24E
analogous
#4E69E2 #7D4EE2 #C74EE2
triadic
#7D4EE2 #E27D4E #4EE27D
tetradic
#7D4EE2 #E24E69 #B3E24E #4EE2C7
square
#7D4EE2 #E24E69 #B3E24E #4EE2C7
split-complementary
#7D4EE2 #E2C74E #69E24E
monochromatic
#431A9C #5A22D1 #7D4EE2 #A483EB #CAB7F3

Accessibility & contrast

On white

5.17
#7D4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7D4EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE2#FFFFFF#000000##FFFFFF
##7D4EE21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#5F7291
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4ee2;
/* rgb */ color: rgb(125, 78, 226);
/* oklch */ color: oklch(55.8% 0.213 292.8);
Tailwind
colors: {
  custom: {
    50: '#aa82ec',
    500: '#7d4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee2;
$custom-light: #aa82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee2",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 259.054,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.21264,
    "h": 292.8
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#7D4EE2
secondary
#D0E3A9
accent
#EF39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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