#7D4FCE#7D4FCE

#7D4FCE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.188 H 296.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D4FCE
RGBrgb(125, 79, 206)
HSLhsl(262, 56%, 56%)
HSVhsv(262, 62%, 81%)
CMYKcmyk(39.3%, 61.7%, 0%, 19.2%)
CIE-LABlab(44.81, 46.68, -59.10)
CIE-LCHlch(44.81, 75.32, 308.30°)
OKLaboklab(54.42% 0.0831 -0.1683)
OKLCHoklch(54.42% 0.188 296.3)
XYZxyz(22.3911, 14.4077, 59.9818)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCE #A0CE4F
analogous
#4F60CE #7D4FCE #BC4FCE
triadic
#7D4FCE #CE7D4F #4FCE7D
tetradic
#7D4FCE #CE4F60 #A0CE4F #4FCEBC
square
#7D4FCE #CE4F60 #A0CE4F #4FCEBC
split-complementary
#7D4FCE #CEBC4F #60CE4F
monochromatic
#45237F #5E31AF #7D4FCE #A07FDB #C4AFE9

Accessibility & contrast

On white

5.41
#7D4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7D4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FCE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FCE#FFFFFF#000000##FFFFFF
##7D4FCE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0668CB
Tritanopia (blue-blind)
#696B87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4fce;
/* rgb */ color: rgb(125, 79, 206);
/* oklch */ color: oklch(54.4% 0.188 296.3);
Tailwind
colors: {
  custom: {
    50: '#a882de',
    500: '#7d4fce',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fce;
$custom-light: #a882de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fce",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 261.732,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.18772,
    "h": 296.3
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#7D4FCE
secondary
#C4D7A2
accent
#E048A9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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