#7D3EB4#7D3EB4

#7D3EB4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.181 H 305.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7D3EB4
RGBrgb(125, 62, 180)
HSLhsl(272, 49%, 47%)
HSVhsv(272, 66%, 71%)
CMYKcmyk(30.6%, 65.6%, 0%, 29.4%)
CIE-LABlab(39.75, 49.03, -52.13)
CIE-LCHlch(39.75, 71.56, 313.25°)
OKLaboklab(50.2% 0.1046 -0.1478)
OKLCHoklch(50.2% 0.181 305.3)
XYZxyz(18.4165, 11.1006, 44.3436)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB4 #75B43E
analogous
#423EB4 #7D3EB4 #B43EB0
triadic
#7D3EB4 #B47D3E #3EB47D
tetradic
#7D3EB4 #B4423E #75B43E #3EB0B4
square
#7D3EB4 #B4423E #75B43E #3EB0B4
split-complementary
#7D3EB4 #B0B43E #3EB442
monochromatic
#3E1F59 #5D2E86 #7D3EB4 #9B65CA #B993DA

Accessibility & contrast

On white

6.52
#7D3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7D3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB4
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB4#FFFFFF#000000##FFFFFF
##7D3EB41.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#735773
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3eb4;
/* rgb */ color: rgb(125, 62, 180);
/* oklch */ color: oklch(50.2% 0.181 305.3);
Tailwind
colors: {
  custom: {
    50: '#a777cb',
    500: '#7d3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb4;
$custom-light: #a777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb4",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 272.034,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.18105,
    "h": 305.3
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#7D3EB4
secondary
#A5C589
accent
#D84F8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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