#7D4CDF#7D4CDF

#7D4CDF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.212 H 293.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D4CDF
RGBrgb(125, 76, 223)
HSLhsl(260, 70%, 59%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(43.9%, 65.9%, 0%, 12.5%)
CIE-LABlab(45.44, 52.78, -67.82)
CIE-LCHlch(45.44, 85.94, 307.89°)
OKLaboklab(55.26% 0.0847 -0.1939)
OKLCHoklch(55.26% 0.212 293.6)
XYZxyz(24.3575, 14.8559, 71.3818)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CDF #AEDF4C
analogous
#4C64DF #7D4CDF #C64CDF
triadic
#7D4CDF #DF7D4C #4CDF7D
tetradic
#7D4CDF #DF4C64 #AEDF4C #4CDFC6
square
#7D4CDF #DF4C64 #AEDF4C #4CDFC6
split-complementary
#7D4CDF #DFC64C #64DF4C
monochromatic
#441B96 #5B24CA #7D4CDF #A380E8 #C8B4F2

Accessibility & contrast

On white

5.29
#7D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CDF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CDF#FFFFFF#000000##FFFFFF
##7D4CDF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#616F8F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4cdf;
/* rgb */ color: rgb(125, 76, 223);
/* oklch */ color: oklch(55.3% 0.212 293.6);
Tailwind
colors: {
  custom: {
    50: '#aa81ea',
    500: '#7d4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cdf;
$custom-light: #aa81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cdf",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 260,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.21162,
    "h": 293.6
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#7D4CDF
secondary
#CDE0A6
accent
#EC3BB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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