#B50DFD

A color in the Purple, Crimson, Magenta family

#b50dfd is a color in the Purple, Crimson, Magenta family: RGB(181, 13, 253), HSL(282°, 98%, 52%), CMYK(28%, 95%, 0%, 1%). Closest named color: darkorchid. Contrast is 4.73:1 on white and 4.44:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b50dfd
RGBrgb(181 13 253)
RGB (legacy)rgb(181, 13, 253)
RGB %rgb(71% 5% 99%)
HSLhsl(282 98% 52%)
HSV / HSBhsv(282, 95%, 99%)
HWBhwb(282 5% 1%)
CMYKcmyk(28%, 95%, 0%, 1%)
CIELAB (D50)lab(47.65 80.1 -80.32)
LCHlch(47.65 113.44 314.92)
OKLaboklab(0.5966 0.1924 -0.2258)
OKLCHoklch(0.5966 0.2966 310.44)
Decimal11865597

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 8.9
Closest web-safe color#cc00ff
Hue282°
Saturation (HSL / HSV)98% / 95%
Lightness (HSL)52%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)36% / 26%
Relative luminance (WCAG)0.172
Red / Green / Blue181 / 13 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.44: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 70.5 / -31.2 · As background with white / black text: Lc -76 / 33.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: #b50dfd;
  --color-brand-oklch: oklch(59.66% 0.2966 310.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(181 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b50dfd] text-[#b50dfd] border-[#b50dfd]">