#B45DFD

A color in the Purple, Crimson, Magenta family

#b45dfd is a color in the Purple, Crimson, Magenta family: RGB(180, 93, 253), HSL(273°, 98%, 68%), CMYK(29%, 63%, 0%, 1%). Closest named color: mediumorchid. Contrast is 3.54:1 on white and 5.92:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b45dfd
RGBrgb(180 93 253)
RGB (legacy)rgb(180, 93, 253)
RGB %rgb(71% 36% 99%)
HSLhsl(273 98% 68%)
HSV / HSBhsv(273, 63%, 99%)
HWBhwb(273 36% 1%)
CMYKcmyk(29%, 63%, 0%, 1%)
CIELAB (D50)lab(56.04 56.59 -66.76)
LCHlch(56.04 87.52 310.29)
OKLaboklab(0.654 0.1359 -0.1872)
OKLCHoklch(0.654 0.2313 305.97)
Decimal11820541

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.4
Closest web-safe color#cc66ff
Hue273°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)54% / 48%
Relative luminance (WCAG)0.2462
Red / Green / Blue180 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.54:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.92: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 62.4 / -39.3 · As background with white / black text: Lc -67.9 / 41.7

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: #b45dfd;
  --color-brand-oklch: oklch(65.4% 0.2313 305.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b45dfd] text-[#b45dfd] border-[#b45dfd]">