#7D458D#7D458D

#7D458D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.7% C 0.126 H 318.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D458D
RGBrgb(125, 69, 141)
HSLhsl(287, 34%, 41%)
HSVhsv(287, 51%, 55%)
CMYKcmyk(11.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(38.79, 36.36, -30.27)
CIE-LCHlch(38.79, 47.31, 320.22°)
OKLaboklab(48.75% 0.0945 -0.0839)
OKLCHoklch(48.75% 0.126 318.4)
XYZxyz(15.3926, 10.5398, 26.4177)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D458D #558D45
analogous
#59458D #7D458D #8D4579
triadic
#7D458D #8D7D45 #458D7D
tetradic
#7D458D #8D5945 #558D45 #45798D
square
#7D458D #8D5945 #558D45 #45798D
split-complementary
#7D458D #798D45 #458D59
monochromatic
#341D3B #593164 #7D458D #9E5FB1 #B788C5

Accessibility & contrast

On white

6.76
#7D458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D458D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D458D#FFFFFF#000000##FFFFFF
##7D458D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#495D8B
Tritanopia (blue-blind)
#7D4F62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d458d;
/* rgb */ color: rgb(125, 69, 141);
/* oklch */ color: oklch(48.7% 0.126 318.4);
Tailwind
colors: {
  custom: {
    50: '#a47bae',
    500: '#7d458d',
    950: '#000000',
  },
}
SCSS
$custom: #7d458d;
$custom-light: #a47bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d458d",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 286.667,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.12636,
    "h": 318.4
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#7D458D
secondary
#89B07E
accent
#CA5D76
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7D458D

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

Preview Lab → · Contrast checker → · Palette generator →

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