#7D4EE1#7D4EE1

#7D4EE1 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.211 H 292.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7D4EE1
RGBrgb(125, 78, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 65%, 88%)
CMYKcmyk(44.4%, 65.3%, 0%, 11.8%)
CIE-LABlab(45.97, 52.27, -68.09)
CIE-LCHlch(45.97, 85.84, 307.51°)
OKLaboklab(55.69% 0.0825 -0.1947)
OKLCHoklch(55.69% 0.211 292.9)
XYZxyz(24.7687, 15.2442, 72.8570)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EE1 #B2E14E
analogous
#4E69E1 #7D4EE1 #C74EE1
triadic
#7D4EE1 #E17D4E #4EE17D
tetradic
#7D4EE1 #E14E69 #B2E14E #4EE1C7
square
#7D4EE1 #E14E69 #B2E14E #4EE1C7
split-complementary
#7D4EE1 #E1C74E #69E14E
monochromatic
#431A9A #5A23CF #7D4EE1 #A382EA #CAB7F3

Accessibility & contrast

On white

5.19
#7D4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7D4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EE1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EE1#FFFFFF#000000##FFFFFF
##7D4EE11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#607191
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4ee1;
/* rgb */ color: rgb(125, 78, 225);
/* oklch */ color: oklch(55.7% 0.211 292.9);
Tailwind
colors: {
  custom: {
    50: '#aa82eb',
    500: '#7d4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ee1;
$custom-light: #aa82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ee1",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 259.184,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.21147,
    "h": 292.9
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#7D4EE1
secondary
#D0E2A9
accent
#EE3AB4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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