#7D4EC1#7D4EC1

#7D4EC1 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.173 H 299.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7D4EC1
RGBrgb(125, 78, 193)
HSLhsl(265, 48%, 53%)
HSVhsv(265, 60%, 76%)
CMYKcmyk(35.2%, 59.6%, 0%, 24.3%)
CIE-LABlab(43.74, 43.84, -53.31)
CIE-LCHlch(43.74, 69.02, 309.43°)
OKLaboklab(53.37% 0.0849 -0.1513)
OKLCHoklch(53.37% 0.173 299.3)
XYZxyz(20.8051, 13.6588, 51.9820)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4EC1 #92C14E
analogous
#4E58C1 #7D4EC1 #B64EC1
triadic
#7D4EC1 #C17D4E #4EC17D
tetradic
#7D4EC1 #C14E58 #92C14E #4EC1B6
square
#7D4EC1 #C14E58 #92C14E #4EC1B6
split-complementary
#7D4EC1 #C1B64E #58C14E
monochromatic
#44276E #60369B #7D4EC1 #9E7BD1 #C0A9E1

Accessibility & contrast

On white

5.63
#7D4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7D4EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4EC1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4EC1#FFFFFF#000000##FFFFFF
##7D4EC11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#2666BE
Tritanopia (blue-blind)
#6E6680
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4ec1;
/* rgb */ color: rgb(125, 78, 193);
/* oklch */ color: oklch(53.4% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#a782d4',
    500: '#7d4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ec1;
$custom-light: #a782d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ec1",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 264.522,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.17347,
    "h": 299.3
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#7D4EC1
secondary
#BACE9D
accent
#D850A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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