#7D3DB5#7D3DB5

#7D3DB5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.183 H 305.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7D3DB5
RGBrgb(125, 61, 181)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 66%, 71%)
CMYKcmyk(30.9%, 66.3%, 0%, 29%)
CIE-LABlab(39.64, 49.77, -52.90)
CIE-LCHlch(39.64, 72.63, 313.25°)
OKLaboklab(50.14% 0.1057 -0.15)
OKLCHoklch(50.14% 0.184 305.2)
XYZxyz(18.4648, 11.0338, 44.8641)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DB5 #75B53D
analogous
#413DB5 #7D3DB5 #B53DB1
triadic
#7D3DB5 #B57D3D #3DB57D
tetradic
#7D3DB5 #B5413D #75B53D #3DB1B5
square
#7D3DB5 #B5413D #75B53D #3DB1B5
split-complementary
#7D3DB5 #B1B53D #3DB541
monochromatic
#3E1E59 #5D2E87 #7D3DB5 #9B64CB #B992DA

Accessibility & contrast

On white

6.55
#7D3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DB5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DB5#FFFFFF#000000##FFFFFF
##7D3DB51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#735774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3db5;
/* rgb */ color: rgb(125, 61, 181);
/* oklch */ color: oklch(50.1% 0.183 305.2);
Tailwind
colors: {
  custom: {
    50: '#a777cc',
    500: '#7d3db5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3db5;
$custom-light: #a777cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3db5",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 272,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.1835,
    "h": 305.2
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

primary
#7D3DB5
secondary
#A5C588
accent
#D94F8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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