#7D3CAA#7D3CAA

#7D3CAA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.173 H 308.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7D3CAA
RGBrgb(125, 60, 170)
HSLhsl(275, 48%, 45%)
HSVhsv(275, 65%, 67%)
CMYKcmyk(26.5%, 64.7%, 0%, 33.3%)
CIE-LABlab(38.72, 47.67, -47.86)
CIE-LCHlch(38.72, 67.55, 314.88°)
OKLaboklab(49.24% 0.1077 -0.1352)
OKLCHoklch(49.24% 0.173 308.5)
XYZxyz(17.3275, 10.4942, 39.1352)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CAA #69AA3C
analogous
#463CAA #7D3CAA #AA3CA0
triadic
#7D3CAA #AA7D3C #3CAA7D
tetradic
#7D3CAA #AA463C #69AA3C #3CA0AA
square
#7D3CAA #AA463C #69AA3C #3CA0AA
split-complementary
#7D3CAA #A0AA3C #3CAA46
monochromatic
#3A1C50 #5C2C7D #7D3CAA #9B5DC6 #B78BD6

Accessibility & contrast

On white

6.78
#7D3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7D3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CAA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CAA#FFFFFF#000000##FFFFFF
##7D3CAA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#295CA7
Tritanopia (blue-blind)
#76526D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3caa;
/* rgb */ color: rgb(125, 60, 170);
/* oklch */ color: oklch(49.2% 0.173 308.5);
Tailwind
colors: {
  custom: {
    50: '#a676c4',
    500: '#7d3caa',
    950: '#000000',
  },
}
SCSS
$custom: #7d3caa;
$custom-light: #a676c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3caa",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 275.455,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.17286,
    "h": 308.5
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#7D3CAA
secondary
#9BC081
accent
#D75088
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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