#7D4FDA#7D4FDA

#7D4FDA is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.202 H 294.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D4FDA
RGBrgb(125, 79, 218)
HSLhsl(260, 65%, 58%)
HSVhsv(260, 64%, 85%)
CMYKcmyk(42.7%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.65, 49.87, -64.62)
CIE-LCHlch(45.65, 81.62, 307.66°)
OKLaboklab(55.3% 0.0822 -0.1845)
OKLCHoklch(55.3% 0.202 294)
XYZxyz(23.9049, 15.0133, 67.9544)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FDA #ACDA4F
analogous
#4F66DA #7D4FDA #C24FDA
triadic
#7D4FDA #DA7D4F #4FDA7D
tetradic
#7D4FDA #DA4F66 #ACDA4F #4FDAC2
square
#7D4FDA #DA4F66 #ACDA4F #4FDAC2
split-complementary
#7D4FDA #DAC24F #66DA4F
monochromatic
#441E90 #5C29C3 #7D4FDA #A282E5 #C8B4EF

Accessibility & contrast

On white

5.25
#7D4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FDA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FDA#FFFFFF#000000##FFFFFF
##7D4FDA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4fda;
/* rgb */ color: rgb(125, 79, 218);
/* oklch */ color: oklch(55.3% 0.202 294.0);
Tailwind
colors: {
  custom: {
    50: '#a983e6',
    500: '#7d4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fda;
$custom-light: #a983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fda",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 259.856,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.202,
    "h": 294
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#7D4FDA
secondary
#CCDEA7
accent
#E840B0
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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