#BA94DE

A color in the Purple, Crimson, Magenta family

#ba94de is a color in the Purple, Crimson, Magenta family: RGB(186, 148, 222), HSL(271°, 53%, 73%), CMYK(16%, 33%, 0%, 13%). Closest named color: plum. Contrast is 2.51:1 on white and 8.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ba94de
RGBrgb(186 148 222)
RGB (legacy)rgb(186, 148, 222)
RGB %rgb(73% 58% 87%)
HSLhsl(271 53% 73%)
HSV / HSBhsv(271, 33%, 87%)
HWBhwb(271 58% 13%)
CMYKcmyk(16%, 33%, 0%, 13%)
CIELAB (D50)lab(66.96 25.19 -32.43)
LCHlch(66.96 41.06 307.84)
OKLaboklab(0.7284 0.0679 -0.089)
OKLCHoklch(0.7284 0.112 307.33)
Decimal12227806

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 6.6
Closest web-safe color#cc99cc
Hue271°
Saturation (HSL / HSV)53% / 33%
Lightness (HSL)73%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)66% / 63%
Relative luminance (WCAG)0.3689
Red / Green / Blue186 / 148 / 222

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 49.1 / -52.8 · As background with white / black text: Lc -54.2 / 54.9

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: #ba94de;
  --color-brand-oklch: oklch(72.84% 0.112 307.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 148 222 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba94de] text-[#ba94de] border-[#ba94de]">