#7D4BB9#7D4BB9

#7D4BB9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.168 H 301.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7D4BB9
RGBrgb(125, 75, 185)
HSLhsl(267, 44%, 51%)
HSVhsv(267, 59%, 73%)
CMYKcmyk(32.4%, 59.5%, 0%, 27.5%)
CIE-LABlab(42.60, 43.44, -50.47)
CIE-LCHlch(42.60, 66.59, 310.72°)
OKLaboklab(52.37% 0.0887 -0.1429)
OKLCHoklch(52.37% 0.168 301.8)
XYZxyz(19.7284, 12.8949, 47.3391)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BB9 #87B94B
analogous
#4B50B9 #7D4BB9 #B44BB9
triadic
#7D4BB9 #B97D4B #4BB97D
tetradic
#7D4BB9 #B94B50 #87B94B #4BB9B4
square
#7D4BB9 #B94B50 #87B94B #4BB9B4
split-complementary
#7D4BB9 #B9B44B #50B94B
monochromatic
#422763 #5F388F #7D4BB9 #9D77CA #BDA3DB

Accessibility & contrast

On white

5.87
#7D4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D4BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BB9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BB9#FFFFFF#000000##FFFFFF
##7D4BB91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#2C64B6
Tritanopia (blue-blind)
#71627B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d4bb9;
/* rgb */ color: rgb(125, 75, 185);
/* oklch */ color: oklch(52.4% 0.168 301.8);
Tailwind
colors: {
  custom: {
    50: '#a67fcf',
    500: '#7d4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bb9;
$custom-light: #a67fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bb9",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 267.273,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.16824,
    "h": 301.8
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#7D4BB9
secondary
#B2C898
accent
#D4549A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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