#ECB2EA

A color in the Purple, Crimson, Magenta family

#ecb2ea is a color in the Purple, Crimson, Magenta family: RGB(236, 178, 234), HSL(302°, 60%, 81%), CMYK(0%, 25%, 1%, 7%). Closest named color: plum. Contrast is 1.73:1 on white and 12.12:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecb2ea
RGBrgb(236 178 234)
RGB (legacy)rgb(236, 178, 234)
RGB %rgb(93% 70% 92%)
HSLhsl(302 60% 81%)
HSV / HSBhsv(302, 25%, 93%)
HWBhwb(302 70% 7%)
CMYKcmyk(0%, 25%, 1%, 7%)
CIELAB (D50)lab(79.37 28.45 -19.57)
LCHlch(79.37 34.53 325.48)
OKLaboklab(0.8342 0.0837 -0.0532)
OKLCHoklch(0.8342 0.0992 327.55)
Decimal15512298

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 5.2
Closest web-safe color#ff99ff
Hue302°
Saturation (HSL / HSV)60% / 25%
Lightness (HSL)81%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)79% / 76%
Relative luminance (WCAG)0.5561
Red / Green / Blue236 / 178 / 234

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 31.3 / -71.4 · As background with white / black text: Lc -35.2 / 72.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: #ecb2ea;
  --color-brand-oklch: oklch(83.42% 0.0992 327.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 178 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecb2ea] text-[#ecb2ea] border-[#ecb2ea]">