#7D4FAC#7D4FAC

#7D4FAC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.146 H 304.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7D4FAC
RGBrgb(125, 79, 172)
HSLhsl(270, 37%, 49%)
HSVhsv(270, 54%, 67%)
CMYKcmyk(27.3%, 54.1%, 0%, 32.5%)
CIE-LABlab(42.66, 37.96, -42.74)
CIE-LCHlch(42.66, 57.16, 311.61°)
OKLaboklab(52.16% 0.0832 -0.1203)
OKLCHoklch(52.16% 0.146 304.7)
XYZxyz(18.6982, 12.9306, 40.5325)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FAC #7EAC4F
analogous
#4F50AC #7D4FAC #AC4FAC
triadic
#7D4FAC #AC7D4F #4FAC7D
tetradic
#7D4FAC #AC4F50 #7EAC4F #4FACAC
square
#7D4FAC #AC4F50 #7EAC4F #4FACAC
split-complementary
#7D4FAC #ACAC4F #50AC4F
monochromatic
#402858 #5F3C82 #7D4FAC #9C77C1 #BAA1D4

Accessibility & contrast

On white

5.86
#7D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7D4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FAC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FAC#FFFFFF#000000##FFFFFF
##7D4FAC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AF
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#756076
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4fac;
/* rgb */ color: rgb(125, 79, 172);
/* oklch */ color: oklch(52.2% 0.146 304.7);
Tailwind
colors: {
  custom: {
    50: '#a582c5',
    500: '#7d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fac;
$custom-light: #a582c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fac",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 269.677,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.14625,
    "h": 304.7
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#7D4FAC
secondary
#ACC196
accent
#CD5B95
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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