#7D4CD8#7D4CD8

#7D4CD8 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.204 H 294.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD8
RGBrgb(125, 76, 216)
HSLhsl(261, 64%, 57%)
HSVhsv(261, 65%, 85%)
CMYKcmyk(42.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.92, 50.93, -64.66)
CIE-LCHlch(44.92, 82.31, 308.22°)
OKLaboklab(54.73% 0.0856 -0.1846)
OKLCHoklch(54.73% 0.204 294.9)
XYZxyz(23.4333, 14.4862, 66.5139)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD8 #A7D84C
analogous
#4C61D8 #7D4CD8 #C34CD8
triadic
#7D4CD8 #D87D4C #4CD87D
tetradic
#7D4CD8 #D84C61 #A7D84C #4CD8C3
square
#7D4CD8 #D84C61 #A7D84C #4CD8C3
split-complementary
#7D4CD8 #D8C34C #61D84C
monochromatic
#441E8B #5D29BE #7D4CD8 #A17EE3 #C6B1EE

Accessibility & contrast

On white

5.39
#7D4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7D4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD8#FFFFFF#000000##FFFFFF
##7D4CD81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4cd8;
/* rgb */ color: rgb(125, 76, 216);
/* oklch */ color: oklch(54.7% 0.204 294.9);
Tailwind
colors: {
  custom: {
    50: '#a981e5',
    500: '#7d4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd8;
$custom-light: #a981e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd8",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 261,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.20351,
    "h": 294.9
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#7D4CD8
secondary
#C8DCA4
accent
#E741AD
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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