#7D4CD1#7D4CD1

#7D4CD1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.195 H 296.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD1
RGBrgb(125, 76, 209)
HSLhsl(262, 59%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(40.2%, 63.6%, 0%, 18%)
CIE-LABlab(44.42, 49.08, -61.46)
CIE-LCHlch(44.42, 78.66, 308.61°)
OKLaboklab(54.21% 0.0862 -0.1752)
OKLCHoklch(54.21% 0.195 296.2)
XYZxyz(22.5475, 14.1319, 61.8490)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD1 #A0D14C
analogous
#4C5DD1 #7D4CD1 #BF4CD1
triadic
#7D4CD1 #D17D4C #4CD17D
tetradic
#7D4CD1 #D14C5D #A0D14C #4CD1BF
square
#7D4CD1 #D14C5D #A0D14C #4CD1BF
split-complementary
#7D4CD1 #D1BF4C #5DD14C
monochromatic
#452181 #5E2EB2 #7D4CD1 #A07DDE #C4ADEA

Accessibility & contrast

On white

5.49
#7D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD1#FFFFFF#000000##FFFFFF
##7D4CD11.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#686A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4cd1;
/* rgb */ color: rgb(125, 76, 209);
/* oklch */ color: oklch(54.2% 0.195 296.2);
Tailwind
colors: {
  custom: {
    50: '#a881e0',
    500: '#7d4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd1;
$custom-light: #a881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd1",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 262.105,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.19532,
    "h": 296.2
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#7D4CD1
secondary
#C4D8A1
accent
#E246A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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