#7D3CAC#7D3CAC

#7D3CAC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.175 H 307.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D3CAC
RGBrgb(125, 60, 172)
HSLhsl(275, 48%, 45%)
HSVhsv(275, 65%, 67%)
CMYKcmyk(27.3%, 65.1%, 0%, 32.5%)
CIE-LABlab(38.85, 48.14, -48.84)
CIE-LCHlch(38.85, 68.57, 314.58°)
OKLaboklab(49.37% 0.1076 -0.1381)
OKLCHoklch(49.37% 0.175 307.9)
XYZxyz(17.5182, 10.5705, 40.1392)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CAC #6BAC3C
analogous
#453CAC #7D3CAC #AC3CA3
triadic
#7D3CAC #AC7D3C #3CAC7D
tetradic
#7D3CAC #AC453C #6BAC3C #3CA3AC
square
#7D3CAC #AC453C #6BAC3C #3CA3AC
split-complementary
#7D3CAC #A3AC3C #3CAC45
monochromatic
#3B1C51 #5C2C7F #7D3CAC #9B5EC7 #B78CD7

Accessibility & contrast

On white

6.74
#7D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D3CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CAC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CAC#FFFFFF#000000##FFFFFF
##7D3CAC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#275CA9
Tritanopia (blue-blind)
#76536F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d3cac;
/* rgb */ color: rgb(125, 60, 172);
/* oklch */ color: oklch(49.4% 0.175 307.9);
Tailwind
colors: {
  custom: {
    50: '#a676c5',
    500: '#7d3cac',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cac;
$custom-light: #a676c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cac",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 274.821,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49374,
    "c": 0.17505,
    "h": 307.9
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#7D3CAC
secondary
#9DC182
accent
#D85089
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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