#8A135C

A color in the Purple, Crimson, Magenta family

#8a135c is a color in the Purple, Crimson, Magenta family: RGB(138, 19, 92), HSL(323°, 76%, 31%), CMYK(0%, 86%, 33%, 46%). Closest named color: purple. Contrast is 9.02:1 on white and 2.33:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a135c
RGBrgb(138 19 92)
RGB (legacy)rgb(138, 19, 92)
RGB %rgb(54% 7% 36%)
HSLhsl(323 76% 31%)
HSV / HSBhsv(323, 86%, 54%)
HWBhwb(323 7% 46%)
CMYKcmyk(0%, 86%, 33%, 46%)
CIELAB (D50)lab(31.28 51.7 -10.59)
LCHlch(31.28 52.77 348.42)
OKLaboklab(0.4269 0.1618 -0.0298)
OKLCHoklch(0.4269 0.1645 349.55)
Decimal9048924

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpurple ΔE 7.2
Closest web-safe color#990066
Hue323°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)31%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)25% / 19%
Relative luminance (WCAG)0.0664
Red / Green / Blue138 / 19 / 92

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.02:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.33: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 89.2 / -13.1 · As background with white / black text: Lc -93.7 / 14.8

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: #8a135c;
  --color-brand-oklch: oklch(42.69% 0.1645 349.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 19 92 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a135c] text-[#8a135c] border-[#8a135c]">