#7D4FDC#7D4FDC

#7D4FDC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.204 H 293.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D4FDC
RGBrgb(125, 79, 220)
HSLhsl(260, 67%, 59%)
HSVhsv(260, 64%, 86%)
CMYKcmyk(43.2%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.80, 50.40, -65.53)
CIE-LCHlch(45.80, 82.67, 307.57°)
OKLaboklab(55.45% 0.082 -0.1872)
OKLCHoklch(55.45% 0.204 293.6)
XYZxyz(24.1682, 15.1186, 69.3411)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FDC #AEDC4F
analogous
#4F67DC #7D4FDC #C34FDC
triadic
#7D4FDC #DC7D4F #4FDC7D
tetradic
#7D4FDC #DC4F67 #AEDC4F #4FDCC3
square
#7D4FDC #DC4F67 #AEDC4F #4FDCC3
split-complementary
#7D4FDC #DCC34F #67DC4F
monochromatic
#441D93 #5B27C6 #7D4FDC #A382E6 #C8B5F0

Accessibility & contrast

On white

5.22
#7D4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7D4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FDC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FDC#FFFFFF#000000##FFFFFF
##7D4FDC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#63708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4fdc;
/* rgb */ color: rgb(125, 79, 220);
/* oklch */ color: oklch(55.4% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#a983e8',
    500: '#7d4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fdc;
$custom-light: #a983e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fdc",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 259.574,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.20436,
    "h": 293.6
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#7D4FDC
secondary
#CDDFA8
accent
#EA3EB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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