#7D4CDD#7D4CDD

#7D4CDD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.209 H 294.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D4CDD
RGBrgb(125, 76, 221)
HSLhsl(260, 68%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(43.4%, 65.6%, 0%, 13.3%)
CIE-LABlab(45.29, 52.25, -66.92)
CIE-LCHlch(45.29, 84.90, 307.98°)
OKLaboklab(55.11% 0.085 -0.1913)
OKLCHoklch(55.11% 0.209 294)
XYZxyz(24.0895, 14.7487, 69.9701)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CDD #ACDD4C
analogous
#4C63DD #7D4CDD #C54CDD
triadic
#7D4CDD #DD7D4C #4CDD7D
tetradic
#7D4CDD #DD4C63 #ACDD4C #4CDDC5
square
#7D4CDD #DD4C63 #ACDD4C #4CDDC5
split-complementary
#7D4CDD #DDC54C #63DD4C
monochromatic
#441C93 #5C26C6 #7D4CDD #A27FE7 #C8B3F1

Accessibility & contrast

On white

5.32
#7D4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7D4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CDD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CDD#FFFFFF#000000##FFFFFF
##7D4CDD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#626F8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4cdd;
/* rgb */ color: rgb(125, 76, 221);
/* oklch */ color: oklch(55.1% 0.209 294.0);
Tailwind
colors: {
  custom: {
    50: '#aa81e9',
    500: '#7d4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cdd;
$custom-light: #aa81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cdd",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 260.276,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.20931,
    "h": 294
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#7D4CDD
secondary
#CCDFA6
accent
#EB3DB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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