#7D4AC2#7D4AC2

#7D4AC2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.180 H 299.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D4AC2
RGBrgb(125, 74, 194)
HSLhsl(266, 50%, 53%)
HSVhsv(266, 62%, 76%)
CMYKcmyk(35.6%, 61.9%, 0%, 23.9%)
CIE-LABlab(42.99, 46.27, -55.10)
CIE-LCHlch(42.99, 71.95, 310.02°)
OKLaboklab(52.84% 0.0896 -0.1565)
OKLCHoklch(52.84% 0.18 299.8)
XYZxyz(20.6415, 13.1524, 52.4797)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4AC2 #8FC24A
analogous
#4A53C2 #7D4AC2 #B94AC2
triadic
#7D4AC2 #C27D4A #4AC27D
tetradic
#7D4AC2 #C24A53 #8FC24A #4AC2B9
square
#7D4AC2 #C24A53 #8FC24A #4AC2B9
split-complementary
#7D4AC2 #C2B94A #53C24A
monochromatic
#43256D #60349B #7D4AC2 #9E78D1 #BFA6E1

Accessibility & contrast

On white

5.78
#7D4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7D4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4AC2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4AC2#FFFFFF#000000##FFFFFF
##7D4AC21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1B65BF
Tritanopia (blue-blind)
#6E647F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d4ac2;
/* rgb */ color: rgb(125, 74, 194);
/* oklch */ color: oklch(52.8% 0.180 299.8);
Tailwind
colors: {
  custom: {
    50: '#a77fd5',
    500: '#7d4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ac2;
$custom-light: #a77fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ac2",
  "rgb": {
    "r": 125,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 265.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.18037,
    "h": 299.8
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#7D4AC2
secondary
#B8CE9A
accent
#D94F9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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