#7D3CA3#7D3CA3

#7D3CA3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.165 H 310.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D3CA3
RGBrgb(125, 60, 163)
HSLhsl(278, 46%, 44%)
HSVhsv(278, 63%, 64%)
CMYKcmyk(23.3%, 63.2%, 0%, 36.1%)
CIE-LABlab(38.26, 46.06, -44.41)
CIE-LCHlch(38.26, 63.98, 316.05°)
OKLaboklab(48.77% 0.108 -0.1251)
OKLCHoklch(48.77% 0.165 310.8)
XYZxyz(16.6829, 10.2364, 35.7402)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CA3 #62A33C
analogous
#493CA3 #7D3CA3 #A33C95
triadic
#7D3CA3 #A37D3C #3CA37D
tetradic
#7D3CA3 #A3493C #62A33C #3C95A3
square
#7D3CA3 #A3493C #62A33C #3C95A3
split-complementary
#7D3CA3 #95A33C #3CA349
monochromatic
#381B4A #5B2C76 #7D3CA3 #9C5AC2 #B787D3

Accessibility & contrast

On white

6.89
#7D3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D3CA3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CA3#FFFFFF#000000##FFFFFF
##7D3CA31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C57A6
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#78506A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3ca3;
/* rgb */ color: rgb(125, 60, 163);
/* oklch */ color: oklch(48.8% 0.165 310.8);
Tailwind
colors: {
  custom: {
    50: '#a676bf',
    500: '#7d3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ca3;
$custom-light: #a676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ca3",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 277.864,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.16525,
    "h": 310.8
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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