#7D4DE1#7D4DE1

#7D4DE1 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.213 H 293.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D4DE1
RGBrgb(125, 77, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 66%, 88%)
CMYKcmyk(44.4%, 65.8%, 0%, 11.8%)
CIE-LABlab(45.78, 52.79, -68.40)
CIE-LCHlch(45.78, 86.41, 307.66°)
OKLaboklab(55.55% 0.0835 -0.1956)
OKLCHoklch(55.55% 0.213 293.1)
XYZxyz(24.6982, 15.1032, 72.8335)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4DE1 #B1E14D
analogous
#4D67E1 #7D4DE1 #C74DE1
triadic
#7D4DE1 #E17D4D #4DE17D
tetradic
#7D4DE1 #E14D67 #B1E14D #4DE1C7
square
#7D4DE1 #E14D67 #B1E14D #4DE1C7
split-complementary
#7D4DE1 #E1C74D #67E14D
monochromatic
#431A9A #5A23CE #7D4DE1 #A381EA #CAB6F3

Accessibility & contrast

On white

5.22
#7D4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4DE1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4DE1#FFFFFF#000000##FFFFFF
##7D4DE11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4de1;
/* rgb */ color: rgb(125, 77, 225);
/* oklch */ color: oklch(55.5% 0.213 293.1);
Tailwind
colors: {
  custom: {
    50: '#aa82eb',
    500: '#7d4de1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4de1;
$custom-light: #aa82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4de1",
  "rgb": {
    "r": 125,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 259.459,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.21271,
    "h": 293.1
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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