#7D4CD7#7D4CD7

#7D4CD7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.202 H 295.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD7
RGBrgb(125, 76, 215)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 65%, 84%)
CMYKcmyk(41.9%, 64.7%, 0%, 15.7%)
CIE-LABlab(44.85, 50.66, -64.21)
CIE-LCHlch(44.85, 81.79, 308.28°)
OKLaboklab(54.65% 0.0857 -0.1833)
OKLCHoklch(54.65% 0.202 295)
XYZxyz(23.3044, 14.4346, 65.8351)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD7 #A6D74C
analogous
#4C61D7 #7D4CD7 #C24CD7
triadic
#7D4CD7 #D77D4C #4CD77D
tetradic
#7D4CD7 #D74C61 #A6D74C #4CD7C2
square
#7D4CD7 #D74C61 #A6D74C #4CD7C2
split-complementary
#7D4CD7 #D7C24C #61D74C
monochromatic
#451F8A #5D2ABC #7D4CD7 #A17EE2 #C6B0ED

Accessibility & contrast

On white

5.40
#7D4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7D4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD7#FFFFFF#000000##FFFFFF
##7D4CD71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#656D8B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4cd7;
/* rgb */ color: rgb(125, 76, 215);
/* oklch */ color: oklch(54.7% 0.202 295.0);
Tailwind
colors: {
  custom: {
    50: '#a981e4',
    500: '#7d4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd7;
$custom-light: #a981e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd7",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 261.151,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.20234,
    "h": 295
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#7D4CD7
secondary
#C8DCA3
accent
#E641AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7D4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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