#7D4AB7#7D4AB7

#7D4AB7 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.167 H 302.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7D4AB7
RGBrgb(125, 74, 183)
HSLhsl(268, 43%, 50%)
HSVhsv(268, 60%, 72%)
CMYKcmyk(31.7%, 59.6%, 0%, 28.2%)
CIE-LABlab(42.27, 43.48, -49.83)
CIE-LCHlch(42.27, 66.14, 311.11°)
OKLaboklab(52.09% 0.09 -0.1411)
OKLCHoklch(52.09% 0.167 302.5)
XYZxyz(19.4515, 12.6764, 46.2126)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AB7 #84B74A
analogous
#4A4EB7 #7D4AB7 #B34AB7
triadic
#7D4AB7 #B77D4A #4AB77D
tetradic
#7D4AB7 #B74A4E #84B74A #4AB7B3
square
#7D4AB7 #B74A4E #84B74A #4AB7B3
split-complementary
#7D4AB7 #B7B34A #4EB74A
monochromatic
#412660 #5F388C #7D4AB7 #9C76C8 #BCA2DA

Accessibility & contrast

On white

5.94
#7D4AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7D4AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AB7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AB7#FFFFFF#000000##FFFFFF
##7D4AB71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#2D63B5
Tritanopia (blue-blind)
#726079
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7d4ab7;
/* rgb */ color: rgb(125, 74, 183);
/* oklch */ color: oklch(52.1% 0.167 302.5);
Tailwind
colors: {
  custom: {
    50: '#a67fcd',
    500: '#7d4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ab7;
$custom-light: #a67fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ab7",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 268.073,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.16733,
    "h": 302.5
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#7D4AB7
secondary
#B0C796
accent
#D35598
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7D4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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