#7D287C

A color in the Purple, Crimson, Magenta family

#7d287c is a color in the Purple, Crimson, Magenta family: RGB(125, 40, 124), HSL(301°, 52%, 32%), CMYK(0%, 68%, 1%, 51%). Closest named color: purple. Contrast is 8.51:1 on white and 2.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7d287c
RGBrgb(125 40 124)
RGB (legacy)rgb(125, 40, 124)
RGB %rgb(49% 16% 49%)
HSLhsl(301 52% 32%)
HSV / HSBhsv(301, 68%, 49%)
HWBhwb(301 16% 51%)
CMYKcmyk(0%, 68%, 1%, 51%)
CIELAB (D50)lab(32.49 44.99 -29.4)
LCHlch(32.49 53.75 326.84)
OKLaboklab(0.4388 0.1325 -0.0818)
OKLCHoklch(0.4388 0.1557 328.31)
Decimal8202364

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 4.2
Closest web-safe color#663366
Hue301°
Saturation (HSL / HSV)52% / 68%
Lightness (HSL)32%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)29% / 25%
Relative luminance (WCAG)0.0733
Red / Green / Blue125 / 40 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88.5 / -13.7 · As background with white / black text: Lc -93.1 / 15.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7d287c;
  --color-brand-oklch: oklch(43.88% 0.1557 328.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d287c] text-[#7d287c] border-[#7d287c]">