#7D3CA6#7D3CA6

#7D3CA6 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.169 H 309.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA6
RGBrgb(125, 60, 166)
HSLhsl(277, 47%, 44%)
HSVhsv(277, 64%, 65%)
CMYKcmyk(24.7%, 63.9%, 0%, 34.9%)
CIE-LABlab(38.45, 46.74, -45.89)
CIE-LCHlch(38.45, 65.51, 315.53°)
OKLaboklab(48.97% 0.1079 -0.1294)
OKLCHoklch(48.97% 0.169 309.8)
XYZxyz(16.9549, 10.3452, 37.1726)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA6 #65A63C
analogous
#483CA6 #7D3CA6 #A63C9A
triadic
#7D3CA6 #A67D3C #3CA67D
tetradic
#7D3CA6 #A6483C #65A63C #3C9AA6
square
#7D3CA6 #A6483C #65A63C #3C9AA6
split-complementary
#7D3CA6 #9AA63C #3CA648
monochromatic
#391C4C #5B2C79 #7D3CA6 #9B5BC4 #B788D4

Accessibility & contrast

On white

6.84
#7D3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7D3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA6#FFFFFF#000000##FFFFFF
##7D3CA61.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258A9
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#77516B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3ca6;
/* rgb */ color: rgb(125, 60, 166);
/* oklch */ color: oklch(49.0% 0.169 309.8);
Tailwind
colors: {
  custom: {
    50: '#a676c1',
    500: '#7d3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca6;
$custom-light: #a676c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca6",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 276.792,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.16852,
    "h": 309.8
  },
  "luminance": 0.10345
}

Semantic roles & 50–950 ramp

primary
#7D3CA6
secondary
#98BE7F
accent
#D75185
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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