#EB8DFD

A color in the Purple, Crimson, Magenta family

#eb8dfd is a color in the Purple, Crimson, Magenta family: RGB(235, 141, 253), HSL(290°, 97%, 77%), CMYK(7%, 44%, 0%, 1%). Closest named color: violet. Contrast is 2.15:1 on white and 9.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#eb8dfd
RGBrgb(235 141 253)
RGB (legacy)rgb(235, 141, 253)
RGB %rgb(92% 55% 99%)
HSLhsl(290 97% 77%)
HSV / HSBhsv(290, 44%, 99%)
HWBhwb(290 55% 1%)
CMYKcmyk(7%, 44%, 0%, 1%)
CIELAB (D50)lab(71.92 49.19 -41.19)
LCHlch(71.92 64.16 320.05)
OKLaboklab(0.7811 0.1405 -0.1138)
OKLCHoklch(0.7811 0.1808 321)
Decimal15437309

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.8
Closest web-safe color#ff99ff
Hue290°
Saturation (HSL / HSV)97% / 44%
Lightness (HSL)77%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)71% / 66%
Relative luminance (WCAG)0.438
Red / Green / Blue235 / 141 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.76: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 41.9 / -60.3 · As background with white / black text: Lc -46.6 / 62

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: #eb8dfd;
  --color-brand-oklch: oklch(78.11% 0.1808 321);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(235 141 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#eb8dfd] text-[#eb8dfd] border-[#eb8dfd]">