#7D4AD4#7D4AD4

#7D4AD4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.1% C 0.201 H 295.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7D4AD4
RGBrgb(125, 74, 212)
HSLhsl(262, 62%, 56%)
HSVhsv(262, 65%, 83%)
CMYKcmyk(41%, 65.1%, 0%, 16.9%)
CIE-LABlab(44.25, 50.92, -63.46)
CIE-LCHlch(44.25, 81.37, 308.74°)
OKLaboklab(54.15% 0.0881 -0.1811)
OKLCHoklch(54.15% 0.201 295.9)
XYZxyz(22.7868, 14.0105, 63.7783)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AD4 #A1D44A
analogous
#4A5CD4 #7D4AD4 #C24AD4
triadic
#7D4AD4 #D47D4A #4AD47D
tetradic
#7D4AD4 #D44A5C #A1D44A #4AD4C2
square
#7D4AD4 #D44A5C #A1D44A #4AD4C2
split-complementary
#7D4AD4 #D4C24A #5CD44A
monochromatic
#451F84 #5E2BB6 #7D4AD4 #A17BE0 #C4ADEB

Accessibility & contrast

On white

5.52
#7D4AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7D4AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AD4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AD4#FFFFFF#000000##FFFFFF
##7D4AD41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#676A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4ad4;
/* rgb */ color: rgb(125, 74, 212);
/* oklch */ color: oklch(54.1% 0.201 295.9);
Tailwind
colors: {
  custom: {
    50: '#a97fe2',
    500: '#7d4ad4',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ad4;
$custom-light: #a97fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ad4",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 262.174,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.20142,
    "h": 295.9
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#7D4AD4
secondary
#C4D9A0
accent
#E543A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7D4AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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