#7D4E85#7D4E85

#7D4E85 is a mid, moderate purple. Relative luminance 0.115; OKLCH L 49.8% C 0.101 H 321.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7D4E85
RGBrgb(125, 78, 133)
HSLhsl(291, 26%, 41%)
HSVhsv(291, 41%, 52%)
CMYKcmyk(6%, 41.4%, 0%, 47.8%)
CIE-LABlab(40.41, 29.50, -22.86)
CIE-LCHlch(40.41, 37.32, 322.23°)
OKLaboklab(49.83% 0.0791 -0.0627)
OKLCHoklch(49.83% 0.101 321.6)
XYZxyz(15.4150, 11.5028, 23.5940)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4E85 #56854E
analogous
#624E85 #7D4E85 #854E72
triadic
#7D4E85 #857D4E #4E857D
tetradic
#7D4E85 #85624E #56854E #4E7285
square
#7D4E85 #85624E #56854E #4E7285
split-complementary
#7D4E85 #72854E #4E8562
monochromatic
#342138 #59375E #7D4E85 #9E69A7 #B790BE

Accessibility & contrast

On white

6.36
#7D4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7D4E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4E85
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4E85#FFFFFF#000000##FFFFFF
##7D4E851.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C87
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#7E5463
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d4e85;
/* rgb */ color: rgb(125, 78, 133);
/* oklch */ color: oklch(49.8% 0.101 321.6);
Tailwind
colors: {
  custom: {
    50: '#a481a8',
    500: '#7d4e85',
    950: '#000000',
  },
}
SCSS
$custom: #7d4e85;
$custom-light: #a481a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4e85",
  "rgb": {
    "r": 125,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 291.273,
    "s": 26.066,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.10094,
    "h": 321.6
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#7D4E85
secondary
#8AAA84
accent
#C26573
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0A0F
muted
#7F7C7F

Preview Lab

Preview with #7D4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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