#7D4FD6#7D4FD6

#7D4FD6 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.197 H 294.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD6
RGBrgb(125, 79, 214)
HSLhsl(260, 62%, 57%)
HSVhsv(260, 63%, 84%)
CMYKcmyk(41.6%, 63.1%, 0%, 16.1%)
CIE-LABlab(45.37, 48.80, -62.79)
CIE-LCHlch(45.37, 79.53, 307.85°)
OKLaboklab(55% 0.0825 -0.1792)
OKLCHoklch(55% 0.197 294.7)
XYZxyz(23.3878, 14.8064, 65.2310)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD6 #A8D64F
analogous
#4F65D6 #7D4FD6 #C04FD6
triadic
#7D4FD6 #D67D4F #4FD67D
tetradic
#7D4FD6 #D64F65 #A8D64F #4FD6C0
square
#7D4FD6 #D64F65 #A8D64F #4FD6C0
split-complementary
#7D4FD6 #D6C04F #65D64F
monochromatic
#44208A #5D2CBC #7D4FD6 #A281E2 #C6B2ED

Accessibility & contrast

On white

5.30
#7D4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D4FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD6#FFFFFF#000000##FFFFFF
##7D4FD61.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#656E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4fd6;
/* rgb */ color: rgb(125, 79, 214);
/* oklch */ color: oklch(55.0% 0.197 294.7);
Tailwind
colors: {
  custom: {
    50: '#a983e3',
    500: '#7d4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd6;
$custom-light: #a983e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd6",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 260.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.19727,
    "h": 294.7
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#7D4FD6
secondary
#C9DCA5
accent
#E543AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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