#7D4CD5#7D4CD5

#7D4CD5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.200 H 295.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD5
RGBrgb(125, 76, 213)
HSLhsl(261, 62%, 57%)
HSVhsv(261, 64%, 84%)
CMYKcmyk(41.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(44.71, 50.14, -63.30)
CIE-LCHlch(44.71, 80.75, 308.38°)
OKLaboklab(54.5% 0.0859 -0.1806)
OKLCHoklch(54.5% 0.2 295.4)
XYZxyz(23.0490, 14.3324, 64.4899)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD5 #A4D54C
analogous
#4C60D5 #7D4CD5 #C24CD5
triadic
#7D4CD5 #D57D4C #4CD57D
tetradic
#7D4CD5 #D54C60 #A4D54C #4CD5C2
square
#7D4CD5 #D54C60 #A4D54C #4CD5C2
split-complementary
#7D4CD5 #D5C24C #60D54C
monochromatic
#452087 #5E2BB9 #7D4CD5 #A17EE1 #C5AFEC

Accessibility & contrast

On white

5.43
#7D4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD5#FFFFFF#000000##FFFFFF
##7D4CD51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4cd5;
/* rgb */ color: rgb(125, 76, 213);
/* oklch */ color: oklch(54.5% 0.200 295.4);
Tailwind
colors: {
  custom: {
    50: '#a981e3',
    500: '#7d4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd5;
$custom-light: #a981e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd5",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 261.46,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.2,
    "h": 295.4
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#7D4CD5
secondary
#C6DAA2
accent
#E543AB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7D4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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