#B24EFD

A color in the Purple, Crimson, Magenta family

#b24efd is a color in the Purple, Crimson, Magenta family: RGB(178, 78, 253), HSL(274°, 98%, 65%), CMYK(30%, 69%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.89:1 on white and 5.4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b24efd
RGBrgb(178 78 253)
RGB (legacy)rgb(178, 78, 253)
RGB %rgb(70% 31% 99%)
HSLhsl(274 98% 65%)
HSV / HSBhsv(274, 69%, 99%)
HWBhwb(274 31% 1%)
CMYKcmyk(30%, 69%, 0%, 1%)
CIELAB (D50)lab(53.3 62.66 -71.2)
LCHlch(53.3 94.84 311.35)
OKLaboklab(0.6343 0.1489 -0.1999)
OKLCHoklch(0.6343 0.2493 306.69)
Decimal11685629

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.8
Closest web-safe color#9966ff
Hue274°
Saturation (HSL / HSV)98% / 69%
Lightness (HSL)65%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)50% / 44%
Relative luminance (WCAG)0.2201
Red / Green / Blue178 / 78 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.89:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.40: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 65.5 / -36.2 · As background with white / black text: Lc -71 / 38.6

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: #b24efd;
  --color-brand-oklch: oklch(63.43% 0.2493 306.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 78 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b24efd] text-[#b24efd] border-[#b24efd]">