#7D4FCD#7D4FCD

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

Color values

HEX#7D4FCD
RGBrgb(125, 79, 205)
HSLhsl(262, 56%, 56%)
HSVhsv(262, 61%, 80%)
CMYKcmyk(39%, 61.5%, 0%, 19.6%)
CIE-LABlab(44.74, 46.42, -58.64)
CIE-LCHlch(44.74, 74.79, 308.37°)
OKLaboklab(54.35% 0.0832 -0.1669)
OKLCHoklch(54.35% 0.187 296.5)
XYZxyz(22.2700, 14.3593, 59.3441)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCD #9FCD4F
analogous
#4F60CD #7D4FCD #BC4FCD
triadic
#7D4FCD #CD7D4F #4FCD7D
tetradic
#7D4FCD #CD4F60 #9FCD4F #4FCDBC
square
#7D4FCD #CD4F60 #9FCD4F #4FCDBC
split-complementary
#7D4FCD #CDBC4F #60CD4F
monochromatic
#45247E #5F31AE #7D4FCD #A07FDB #C3AEE8

Accessibility & contrast

On white

5.42
#7D4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FCD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FCD#FFFFFF#000000##FFFFFF
##7D4FCD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0B68CA
Tritanopia (blue-blind)
#696B87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d4fcd;
/* rgb */ color: rgb(125, 79, 205);
/* oklch */ color: oklch(54.4% 0.187 296.5);
Tailwind
colors: {
  custom: {
    50: '#a882dd',
    500: '#7d4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fcd;
$custom-light: #a882dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fcd",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 261.905,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54353,
    "c": 0.18652,
    "h": 296.5
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#7D4FCD
secondary
#C3D6A2
accent
#DF49A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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