#7D4CD2#7D4CD2

#7D4CD2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.196 H 296.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD2
RGBrgb(125, 76, 210)
HSLhsl(262, 60%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(40.5%, 63.8%, 0%, 17.6%)
CIE-LABlab(44.49, 49.35, -61.92)
CIE-LCHlch(44.49, 79.18, 308.55°)
OKLaboklab(54.28% 0.0862 -0.1766)
OKLCHoklch(54.28% 0.196 296)
XYZxyz(22.6717, 14.1815, 62.5031)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD2 #A1D24C
analogous
#4C5ED2 #7D4CD2 #C04CD2
triadic
#7D4CD2 #D27D4C #4CD27D
tetradic
#7D4CD2 #D24C5E #A1D24C #4CD2C0
square
#7D4CD2 #D24C5E #A1D24C #4CD2C0
split-complementary
#7D4CD2 #D2C04C #5ED24C
monochromatic
#452183 #5E2DB4 #7D4CD2 #A17DDE #C4AEEB

Accessibility & contrast

On white

5.47
#7D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7D4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD2#FFFFFF#000000##FFFFFF
##7D4CD21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#676B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4cd2;
/* rgb */ color: rgb(125, 76, 210);
/* oklch */ color: oklch(54.3% 0.196 296.0);
Tailwind
colors: {
  custom: {
    50: '#a981e1',
    500: '#7d4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd2;
$custom-light: #a981e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd2",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 261.94,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.19649,
    "h": 296
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#7D4CD2
secondary
#C4D9A1
accent
#E345A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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