#BE21F2

A color in the Purple, Crimson, Magenta family

#be21f2 is a color in the Purple, Crimson, Magenta family: RGB(190, 33, 242), HSL(285°, 89%, 54%), CMYK(21%, 86%, 0%, 5%). Closest named color: mediumorchid. Contrast is 4.48:1 on white and 4.69:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#be21f2
RGBrgb(190 33 242)
RGB (legacy)rgb(190, 33, 242)
RGB %rgb(75% 13% 95%)
HSLhsl(285 89% 54%)
HSV / HSBhsv(285, 86%, 95%)
HWBhwb(285 13% 5%)
CMYKcmyk(21%, 86%, 0%, 5%)
CIELAB (D50)lab(49.41 77.23 -71.24)
LCHlch(49.41 105.07 317.31)
OKLaboklab(0.6072 0.1997 -0.2)
OKLCHoklch(0.6072 0.2827 314.95)
Decimal12460530

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 8.4
Closest web-safe color#cc33ff
Hue285°
Saturation (HSL / HSV)89% / 86%
Lightness (HSL)54%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)41% / 32%
Relative luminance (WCAG)0.1845
Red / Green / Blue190 / 33 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.69: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.2 / -32.4 · As background with white / black text: Lc -74.7 / 34.8

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: #be21f2;
  --color-brand-oklch: oklch(60.72% 0.2827 314.95);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(190 33 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#be21f2] text-[#be21f2] border-[#be21f2]">