#7D4EDC#7D4EDC

#7D4EDC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.206 H 293.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D4EDC
RGBrgb(125, 78, 220)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 65%, 86%)
CMYKcmyk(43.2%, 64.5%, 0%, 13.7%)
CIE-LABlab(45.60, 50.93, -65.84)
CIE-LCHlch(45.60, 83.24, 307.72°)
OKLaboklab(55.31% 0.083 -0.1881)
OKLCHoklch(55.31% 0.206 293.8)
XYZxyz(24.0966, 14.9754, 69.3172)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EDC #ADDC4E
analogous
#4E66DC #7D4EDC #C44EDC
triadic
#7D4EDC #DC7D4E #4EDC7D
tetradic
#7D4EDC #DC4E66 #ADDC4E #4EDCC4
square
#7D4EDC #DC4E66 #ADDC4E #4EDCC4
split-complementary
#7D4EDC #DCC44E #66DC4E
monochromatic
#441D93 #5C27C6 #7D4EDC #A381E6 #C8B4F0

Accessibility & contrast

On white

5.26
#7D4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EDC#FFFFFF#000000##FFFFFF
##7D4EDC1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#636F8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4edc;
/* rgb */ color: rgb(125, 78, 220);
/* oklch */ color: oklch(55.3% 0.206 293.8);
Tailwind
colors: {
  custom: {
    50: '#a982e8',
    500: '#7d4edc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4edc;
$custom-light: #a982e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4edc",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 259.859,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.20563,
    "h": 293.8
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#7D4EDC
secondary
#CCDFA7
accent
#EA3EB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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