#7D3CA4#7D3CA4

#7D3CA4 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.166 H 310.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA4
RGBrgb(125, 60, 164)
HSLhsl(278, 46%, 44%)
HSVhsv(278, 63%, 64%)
CMYKcmyk(23.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(38.33, 46.28, -44.90)
CIE-LCHlch(38.33, 64.49, 315.87°)
OKLaboklab(48.83% 0.108 -0.1265)
OKLCHoklch(48.83% 0.166 310.5)
XYZxyz(16.7729, 10.2724, 36.2139)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA4 #63A43C
analogous
#493CA4 #7D3CA4 #A43C97
triadic
#7D3CA4 #A47D3C #3CA47D
tetradic
#7D3CA4 #A4493C #63A43C #3C97A4
square
#7D3CA4 #A4493C #63A43C #3C97A4
split-complementary
#7D3CA4 #97A43C #3CA449
monochromatic
#391B4A #5B2C77 #7D3CA4 #9C5AC3 #B787D3

Accessibility & contrast

On white

6.88
#7D3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CA4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA4#FFFFFF#000000##FFFFFF
##7D3CA41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#305BA2
Tritanopia (blue-blind)
#78506A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ca4;
/* rgb */ color: rgb(125, 60, 164);
/* oklch */ color: oklch(48.8% 0.166 310.5);
Tailwind
colors: {
  custom: {
    50: '#a676bf',
    500: '#7d3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca4;
$custom-light: #a676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca4",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 277.5,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.16634,
    "h": 310.5
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7D3CA4
secondary
#96BD7E
accent
#D65283
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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