#7D4ACA#7D4ACA

#7D4ACA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.190 H 298.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7D4ACA
RGBrgb(125, 74, 202)
HSLhsl(264, 55%, 54%)
HSVhsv(264, 63%, 79%)
CMYKcmyk(38.1%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.54, 48.32, -58.86)
CIE-LCHlch(43.54, 76.15, 309.39°)
OKLaboklab(53.41% 0.0891 -0.1676)
OKLCHoklch(53.41% 0.19 298)
XYZxyz(21.5642, 13.5215, 57.3395)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4ACA #97CA4A
analogous
#4A57CA #7D4ACA #BD4ACA
triadic
#7D4ACA #CA7D4A #4ACA7D
tetradic
#7D4ACA #CA4A57 #97CA4A #4ACABD
square
#7D4ACA #CA4A57 #97CA4A #4ACABD
split-complementary
#7D4ACA #CABD4A #57CA4A
monochromatic
#442377 #5F31A6 #7D4ACA #9F79D8 #C1A9E6

Accessibility & contrast

On white

5.67
#7D4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7D4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4ACA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4ACA#FFFFFF#000000##FFFFFF
##7D4ACA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#6B6783
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d4aca;
/* rgb */ color: rgb(125, 74, 202);
/* oklch */ color: oklch(53.4% 0.190 298.0);
Tailwind
colors: {
  custom: {
    50: '#a87fdb',
    500: '#7d4aca',
    950: '#000000',
  },
}
SCSS
$custom: #7d4aca;
$custom-light: #a87fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4aca",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 263.906,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.18977,
    "h": 298
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#7D4ACA
secondary
#BDD39D
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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