#7D4FD2#7D4FD2

#7D4FD2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.193 H 295.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD2
RGBrgb(125, 79, 210)
HSLhsl(261, 59%, 57%)
HSVhsv(261, 62%, 82%)
CMYKcmyk(40.5%, 62.4%, 0%, 17.6%)
CIE-LABlab(45.09, 47.74, -60.96)
CIE-LCHlch(45.09, 77.43, 308.07°)
OKLaboklab(54.71% 0.0829 -0.1738)
OKLCHoklch(54.71% 0.193 295.5)
XYZxyz(22.8832, 14.6046, 62.5736)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD2 #A4D24F
analogous
#4F63D2 #7D4FD2 #BF4FD2
triadic
#7D4FD2 #D27D4F #4FD27D
tetradic
#7D4FD2 #D24F63 #A4D24F #4FD2BF
square
#7D4FD2 #D24F63 #A4D24F #4FD2BF
split-complementary
#7D4FD2 #D2BF4F #63D24F
monochromatic
#452285 #5E2EB5 #7D4FD2 #A180DE #C5B0EB

Accessibility & contrast

On white

5.36
#7D4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7D4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD2#FFFFFF#000000##FFFFFF
##7D4FD21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#676D89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4fd2;
/* rgb */ color: rgb(125, 79, 210);
/* oklch */ color: oklch(54.7% 0.193 295.5);
Tailwind
colors: {
  custom: {
    50: '#a883e1',
    500: '#7d4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd2;
$custom-light: #a883e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd2",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 261.069,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.19251,
    "h": 295.5
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#7D4FD2
secondary
#C6D9A4
accent
#E245AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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