#7D3AA6#7D3AA6

#7D3AA6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.171 H 310.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7D3AA6
RGBrgb(125, 58, 166)
HSLhsl(277, 48%, 44%)
HSVhsv(277, 65%, 65%)
CMYKcmyk(24.7%, 65.1%, 0%, 34.9%)
CIE-LABlab(38.09, 47.74, -46.48)
CIE-LCHlch(38.09, 66.63, 315.77°)
OKLaboklab(48.7% 0.1103 -0.1311)
OKLCHoklch(48.7% 0.171 310.1)
XYZxyz(16.8521, 10.1396, 37.1384)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3AA6 #63A63A
analogous
#473AA6 #7D3AA6 #A63A99
triadic
#7D3AA6 #A67D3A #3AA67D
tetradic
#7D3AA6 #A6473A #63A63A #3A99A6
square
#7D3AA6 #A6473A #63A63A #3A99A6
split-complementary
#7D3AA6 #99A63A #3AA647
monochromatic
#391A4B #5B2A79 #7D3AA6 #9C58C5 #B786D5

Accessibility & contrast

On white

6.94
#7D3AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D3AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3AA6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3AA6#FFFFFF#000000##FFFFFF
##7D3AA61.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#77506B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3aa6;
/* rgb */ color: rgb(125, 58, 166);
/* oklch */ color: oklch(48.7% 0.171 310.1);
Tailwind
colors: {
  custom: {
    50: '#a675c1',
    500: '#7d3aa6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3aa6;
$custom-light: #a675c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3aa6",
  "rgb": {
    "r": 125,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 277.222,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.17138,
    "h": 310.1
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#7D3AA6
secondary
#96BF7D
accent
#D85084
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D3AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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