#ECB4FA

A color in the Purple, Crimson, Magenta family

#ecb4fa is a color in the Purple, Crimson, Magenta family: RGB(236, 180, 250), HSL(288°, 88%, 84%), CMYK(6%, 28%, 0%, 2%). Closest named color: plum. Contrast is 1.68:1 on white and 12.48:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecb4fa
RGBrgb(236 180 250)
RGB (legacy)rgb(236, 180, 250)
RGB %rgb(93% 71% 98%)
HSLhsl(288 88% 84%)
HSV / HSBhsv(288, 28%, 98%)
HWBhwb(288 71% 2%)
CMYKcmyk(6%, 28%, 0%, 2%)
CIELAB (D50)lab(80.28 29.68 -26.76)
LCHlch(80.28 39.96 317.97)
OKLaboklab(0.8436 0.0853 -0.073)
OKLCHoklch(0.8436 0.1123 319.46)
Decimal15512826

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 6.2
Closest web-safe color#ffccff
Hue288°
Saturation (HSL / HSV)88% / 28%
Lightness (HSL)84%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)80% / 77%
Relative luminance (WCAG)0.5738
Red / Green / Blue236 / 180 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.68:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.48: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 29.8 / -73.1 · As background with white / black text: Lc -33.5 / 74.1

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: #ecb4fa;
  --color-brand-oklch: oklch(84.36% 0.1123 319.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 180 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecb4fa] text-[#ecb4fa] border-[#ecb4fa]">