#7D4CD6#7D4CD6

#7D4CD6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.201 H 295.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD6
RGBrgb(125, 76, 214)
HSLhsl(261, 63%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.6%, 64.5%, 0%, 16.1%)
CIE-LABlab(44.78, 50.40, -63.75)
CIE-LCHlch(44.78, 81.27, 308.33°)
OKLaboklab(54.58% 0.0858 -0.182)
OKLCHoklch(54.58% 0.201 295.2)
XYZxyz(23.1763, 14.3834, 65.1605)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD6 #A5D64C
analogous
#4C60D6 #7D4CD6 #C24CD6
triadic
#7D4CD6 #D67D4C #4CD67D
tetradic
#7D4CD6 #D64C60 #A5D64C #4CD6C2
square
#7D4CD6 #D64C60 #A5D64C #4CD6C2
split-complementary
#7D4CD6 #D6C24C #60D64C
monochromatic
#451F88 #5E2BBA #7D4CD6 #A17EE1 #C5B0ED

Accessibility & contrast

On white

5.42
#7D4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD6#FFFFFF#000000##FFFFFF
##7D4CD61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#666C8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4cd6;
/* rgb */ color: rgb(125, 76, 214);
/* oklch */ color: oklch(54.6% 0.201 295.2);
Tailwind
colors: {
  custom: {
    50: '#a981e3',
    500: '#7d4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd6;
$custom-light: #a981e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd6",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 261.304,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.20117,
    "h": 295.2
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#7D4CD6
secondary
#C7DBA3
accent
#E642AC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7D4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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