#7D3AC4#7D3AC4

#7D3AC4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.204 H 301.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7D3AC4
RGBrgb(125, 58, 196)
HSLhsl(269, 54%, 50%)
HSVhsv(269, 70%, 77%)
CMYKcmyk(36.2%, 70.4%, 0%, 23.1%)
CIE-LABlab(40.20, 54.82, -60.79)
CIE-LCHlch(40.20, 81.85, 312.05°)
OKLaboklab(50.88% 0.1069 -0.1732)
OKLCHoklch(50.88% 0.204 301.7)
XYZxyz(19.9319, 11.3715, 53.3587)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AC4 #81C43A
analogous
#3A3CC4 #7D3AC4 #C23AC4
triadic
#7D3AC4 #C47D3A #3AC47D
tetradic
#7D3AC4 #C43A3C #81C43A #3AC4C2
square
#7D3AC4 #C43A3C #81C43A #3AC4C2
split-complementary
#7D3AC4 #C4C23A #3CC43A
monochromatic
#411E66 #5F2C95 #7D3AC4 #9C69D3 #BB98E0

Accessibility & contrast

On white

6.41
#7D3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D3AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AC4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AC4#FFFFFF#000000##FFFFFF
##7D3AC41.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#6E5B7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3ac4;
/* rgb */ color: rgb(125, 58, 196);
/* oklch */ color: oklch(50.9% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#a876d7',
    500: '#7d3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ac4;
$custom-light: #a876d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ac4",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 269.13,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.20352,
    "h": 301.7
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#7D3AC4
secondary
#AECC8E
accent
#DE4A96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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