#7D4FD9#7D4FD9

#7D4FD9 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.201 H 294.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D4FD9
RGBrgb(125, 79, 217)
HSLhsl(260, 64%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.4%, 63.6%, 0%, 14.9%)
CIE-LABlab(45.58, 49.60, -64.16)
CIE-LCHlch(45.58, 81.10, 307.71°)
OKLaboklab(55.23% 0.0823 -0.1832)
OKLCHoklch(55.23% 0.201 294.2)
XYZxyz(23.7744, 14.9611, 67.2673)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FD9 #ABD94F
analogous
#4F66D9 #7D4FD9 #C24FD9
triadic
#7D4FD9 #D97D4F #4FD97D
tetradic
#7D4FD9 #D94F66 #ABD94F #4FD9C2
square
#7D4FD9 #D94F66 #ABD94F #4FD9C2
split-complementary
#7D4FD9 #D9C24F #66D94F
monochromatic
#441F8F #5C2AC1 #7D4FD9 #A281E4 #C7B4EF

Accessibility & contrast

On white

5.26
#7D4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FD9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FD9#FFFFFF#000000##FFFFFF
##7D4FD91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#646F8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4fd9;
/* rgb */ color: rgb(125, 79, 217);
/* oklch */ color: oklch(55.2% 0.201 294.2);
Tailwind
colors: {
  custom: {
    50: '#a983e6',
    500: '#7d4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fd9;
$custom-light: #a983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fd9",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 260,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.20082,
    "h": 294.2
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#7D4FD9
secondary
#CBDDA6
accent
#E740B0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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