#B405DD

A color in the Purple, Crimson, Magenta family

#b405dd is a color in the Purple, Crimson, Magenta family: RGB(180, 5, 221), HSL(289°, 96%, 44%), CMYK(19%, 98%, 0%, 13%). Closest named color: darkorchid. Contrast is 5.24:1 on white and 4.01:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b405dd
RGBrgb(180 5 221)
RGB (legacy)rgb(180, 5, 221)
RGB %rgb(71% 2% 87%)
HSLhsl(289 96% 44%)
HSV / HSBhsv(289, 98%, 87%)
HWBhwb(289 2% 13%)
CMYKcmyk(19%, 98%, 0%, 13%)
CIELAB (D50)lab(45.15 76.38 -66.36)
LCHlch(45.15 101.18 319.02)
OKLaboklab(0.5692 0.2024 -0.1863)
OKLCHoklch(0.5692 0.2751 317.37)
Decimal11797981

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 6.1
Closest web-safe color#cc00cc
Hue289°
Saturation (HSL / HSV)96% / 98%
Lightness (HSL)44%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)32% / 23%
Relative luminance (WCAG)0.1503
Red / Green / Blue180 / 5 / 221

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 73.6 / -28.1 · As background with white / black text: Lc -79 / 30.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: #b405dd;
  --color-brand-oklch: oklch(56.92% 0.2751 317.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 5 221 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b405dd] text-[#b405dd] border-[#b405dd]">