#B90DFD

A color in the Purple, Crimson, Magenta family

#b90dfd is a color in the Purple, Crimson, Magenta family: RGB(185, 13, 253), HSL(283°, 98%, 52%), CMYK(27%, 95%, 0%, 1%). Closest named color: darkorchid. Contrast is 4.63:1 on white and 4.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b90dfd
RGBrgb(185 13 253)
RGB (legacy)rgb(185, 13, 253)
RGB %rgb(73% 5% 99%)
HSLhsl(283 98% 52%)
HSV / HSBhsv(283, 95%, 99%)
HWBhwb(283 5% 1%)
CMYKcmyk(27%, 95%, 0%, 1%)
CIELAB (D50)lab(48.31 80.71 -79.23)
LCHlch(48.31 113.1 315.53)
OKLaboklab(0.602 0.1975 -0.2227)
OKLCHoklch(0.602 0.2976 311.57)
Decimal12127741

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.54: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 69.8 / -31.9 · As background with white / black text: Lc -75.3 / 34.3

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: #b90dfd;
  --color-brand-oklch: oklch(60.2% 0.2976 311.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 13 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b90dfd] text-[#b90dfd] border-[#b90dfd]">