#7D4CD9#7D4CD9

#7D4CD9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.205 H 294.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D4CD9
RGBrgb(125, 76, 217)
HSLhsl(261, 65%, 57%)
HSVhsv(261, 65%, 85%)
CMYKcmyk(42.4%, 65%, 0%, 14.9%)
CIE-LABlab(44.99, 51.19, -65.11)
CIE-LCHlch(44.99, 82.83, 308.17°)
OKLaboklab(54.8% 0.0854 -0.186)
OKLCHoklch(54.8% 0.205 294.7)
XYZxyz(23.5629, 14.5380, 67.1968)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CD9 #A8D94C
analogous
#4C62D9 #7D4CD9 #C34CD9
triadic
#7D4CD9 #D97D4C #4CD97D
tetradic
#7D4CD9 #D94C62 #A8D94C #4CD9C3
square
#7D4CD9 #D94C62 #A8D94C #4CD9C3
split-complementary
#7D4CD9 #D9C34C #62D94C
monochromatic
#441E8D #5D29BF #7D4CD9 #A27EE4 #C6B1EE

Accessibility & contrast

On white

5.37
#7D4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CD9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CD9#FFFFFF#000000##FFFFFF
##7D4CD91.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#646D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4cd9;
/* rgb */ color: rgb(125, 76, 217);
/* oklch */ color: oklch(54.8% 0.205 294.7);
Tailwind
colors: {
  custom: {
    50: '#a981e6',
    500: '#7d4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cd9;
$custom-light: #a981e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cd9",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 260.851,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.20467,
    "h": 294.7
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#7D4CD9
secondary
#C9DDA4
accent
#E840AE
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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