#7D4FD3#7D4FD3

#7D4FD3 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.194 H 295.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD3
RGBrgb(125, 79, 211)
HSLhsl(261, 60%, 57%)
HSVhsv(261, 63%, 83%)
CMYKcmyk(40.8%, 62.6%, 0%, 17.3%)
CIE-LABlab(45.16, 48.01, -61.42)
CIE-LCHlch(45.16, 77.95, 308.01°)
OKLaboklab(54.79% 0.0828 -0.1751)
OKLCHoklch(54.79% 0.194 295.3)
XYZxyz(23.0082, 14.6546, 63.2318)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD3 #A5D34F
analogous
#4F63D3 #7D4FD3 #BF4FD3
triadic
#7D4FD3 #D37D4F #4FD37D
tetradic
#7D4FD3 #D34F63 #A5D34F #4FD3BF
square
#7D4FD3 #D34F63 #A5D34F #4FD3BF
split-complementary
#7D4FD3 #D3BF4F #63D34F
monochromatic
#452286 #5E2EB7 #7D4FD3 #A180DF #C5B1EB

Accessibility & contrast

On white

5.34
#7D4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7D4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD3#FFFFFF#000000##FFFFFF
##7D4FD31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#676D8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4fd3;
/* rgb */ color: rgb(125, 79, 211);
/* oklch */ color: oklch(54.8% 0.194 295.3);
Tailwind
colors: {
  custom: {
    50: '#a883e1',
    500: '#7d4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd3;
$custom-light: #a883e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd3",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 260.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54785,
    "c": 0.1937,
    "h": 295.3
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#7D4FD3
secondary
#C7DAA4
accent
#E345AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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