#7D4FD5#7D4FD5

#7D4FD5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.196 H 294.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD5
RGBrgb(125, 79, 213)
HSLhsl(261, 61%, 57%)
HSVhsv(261, 63%, 84%)
CMYKcmyk(41.3%, 62.9%, 0%, 16.5%)
CIE-LABlab(45.30, 48.54, -62.34)
CIE-LCHlch(45.30, 79.00, 307.90°)
OKLaboklab(54.93% 0.0826 -0.1778)
OKLCHoklch(54.93% 0.196 294.9)
XYZxyz(23.2605, 14.7555, 64.5605)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD5 #A7D54F
analogous
#4F64D5 #7D4FD5 #C04FD5
triadic
#7D4FD5 #D57D4F #4FD57D
tetradic
#7D4FD5 #D54F64 #A7D54F #4FD5C0
square
#7D4FD5 #D54F64 #A7D54F #4FD5C0
split-complementary
#7D4FD5 #D5C04F #64D54F
monochromatic
#442189 #5D2CBA #7D4FD5 #A180E1 #C6B2ED

Accessibility & contrast

On white

5.31
#7D4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D4FD5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD5#FFFFFF#000000##FFFFFF
##7D4FD51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#666E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4fd5;
/* rgb */ color: rgb(125, 79, 213);
/* oklch */ color: oklch(54.9% 0.196 294.9);
Tailwind
colors: {
  custom: {
    50: '#a983e3',
    500: '#7d4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd5;
$custom-light: #a983e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd5",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 260.597,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.19608,
    "h": 294.9
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#7D4FD5
secondary
#C8DBA5
accent
#E543AD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7D4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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