#7D4B95#7D4B95

#7D4B95 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.2% C 0.125 H 313.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7D4B95
RGBrgb(125, 75, 149)
HSLhsl(281, 33%, 44%)
HSVhsv(281, 50%, 58%)
CMYKcmyk(16.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(40.51, 34.76, -32.41)
CIE-LCHlch(40.51, 47.52, 317.00°)
OKLaboklab(50.16% 0.0867 -0.0902)
OKLCHoklch(50.16% 0.125 313.9)
XYZxyz(16.3974, 11.5625, 29.7959)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4B95 #63954B
analogous
#584B95 #7D4B95 #954B88
triadic
#7D4B95 #957D4B #4B957D
tetradic
#7D4B95 #95584B #63954B #4B8895
square
#7D4B95 #95584B #63954B #4B8895
split-complementary
#7D4B95 #88954B #4B9558
monochromatic
#392244 #5B376C #7D4B95 #9C69B4 #B792C8

Accessibility & contrast

On white

6.34
#7D4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7D4B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4B95
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4B95#FFFFFF#000000##FFFFFF
##7D4B951.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D98
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#7B5669
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4b95;
/* rgb */ color: rgb(125, 75, 149);
/* oklch */ color: oklch(50.2% 0.125 313.9);
Tailwind
colors: {
  custom: {
    50: '#a47fb4',
    500: '#7d4b95',
    950: '#000000',
  },
}
SCSS
$custom: #7d4b95;
$custom-light: #a47fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4b95",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 280.541,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.12506,
    "h": 313.9
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#7D4B95
secondary
#96B487
accent
#C95F81
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7D4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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