#7D3CA5#7D3CA5

#7D3CA5 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.167 H 310.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA5
RGBrgb(125, 60, 165)
HSLhsl(277, 47%, 44%)
HSVhsv(277, 64%, 65%)
CMYKcmyk(24.2%, 63.6%, 0%, 35.3%)
CIE-LABlab(38.39, 46.51, -45.40)
CIE-LCHlch(38.39, 65.00, 315.70°)
OKLaboklab(48.9% 0.1079 -0.128)
OKLCHoklch(48.9% 0.167 310.1)
XYZxyz(16.8635, 10.3086, 36.6914)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA5 #64A53C
analogous
#493CA5 #7D3CA5 #A53C99
triadic
#7D3CA5 #A57D3C #3CA57D
tetradic
#7D3CA5 #A5493C #64A53C #3C99A5
square
#7D3CA5 #A5493C #64A53C #3C99A5
split-complementary
#7D3CA5 #99A53C #3CA549
monochromatic
#391B4B #5B2C78 #7D3CA5 #9C5BC3 #B788D4

Accessibility & contrast

On white

6.86
#7D3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7D3CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA5#FFFFFF#000000##FFFFFF
##7D3CA51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A8
Deuteranopia (green-blind)
#2F5BA3
Tritanopia (blue-blind)
#78516B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ca5;
/* rgb */ color: rgb(125, 60, 165);
/* oklch */ color: oklch(48.9% 0.167 310.1);
Tailwind
colors: {
  custom: {
    50: '#a676c0',
    500: '#7d3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca5;
$custom-light: #a676c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca5",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 277.143,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.16743,
    "h": 310.1
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#7D3CA5
secondary
#97BE7F
accent
#D65184
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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