#EC00F0

A color in the Purple, Crimson, Magenta family

#ec00f0 is a color in the Purple, Crimson, Magenta family: RGB(236, 0, 240), HSL(299°, 100%, 47%), CMYK(2%, 100%, 0%, 6%). Closest named color: fuchsia. Contrast is 3.61:1 on white and 5.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ec00f0
RGBrgb(236 0 240)
RGB (legacy)rgb(236, 0, 240)
RGB %rgb(93% 0% 94%)
HSLhsl(299 100% 47%)
HSV / HSBhsv(299, 100%, 94%)
HWBhwb(299 0% 6%)
CMYKcmyk(2%, 100%, 0%, 6%)
CIELAB (D50)lab(56.03 88.63 -58.98)
LCHlch(56.03 106.46 326.36)
OKLaboklab(0.6641 0.2585 -0.165)
OKLCHoklch(0.6641 0.3067 327.45)
Decimal15466736

Properties

Color TonePurple, Crimson, Magenta
Closest named colorfuchsia ΔE 4.1
Closest web-safe color#ff00ff
Hue299°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)47%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)38% / 26%
Relative luminance (WCAG)0.2412
Red / Green / Blue236 / 0 / 240

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 60.9 / -40.8 · As background with white / black text: Lc -66.3 / 43.2

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: #ec00f0;
  --color-brand-oklch: oklch(66.41% 0.3067 327.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 0 240 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec00f0] text-[#ec00f0] border-[#ec00f0]">