#BB91EF

A color in the Violet family

#bb91ef is a color in the Violet family: RGB(187, 145, 239), HSL(267°, 75%, 75%), CMYK(22%, 39%, 0%, 6%). Closest named color: plum. Contrast is 2.5:1 on white and 8.41:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bb91ef
RGBrgb(187 145 239)
RGB (legacy)rgb(187, 145, 239)
RGB %rgb(73% 57% 94%)
HSLhsl(267 75% 75%)
HSV / HSBhsv(267, 39%, 94%)
HWBhwb(267 57% 6%)
CMYKcmyk(22%, 39%, 0%, 6%)
CIELAB (D50)lab(66.97 30 -41.74)
LCHlch(66.97 51.4 305.7)
OKLaboklab(0.7318 0.077 -0.1153)
OKLCHoklch(0.7318 0.1387 303.74)
Decimal12292591

Properties

Color ToneViolet
Closest named colorplum ΔE 7.7
Closest web-safe color#cc99ff
Hue267°
Saturation (HSL / HSV)75% / 39%
Lightness (HSL)75%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)66% / 63%
Relative luminance (WCAG)0.3705
Red / Green / Blue187 / 145 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.41: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 48.9 / -53.1 · As background with white / black text: Lc -54 / 55.1

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: #bb91ef;
  --color-brand-oklch: oklch(73.18% 0.1387 303.74);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 145 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb91ef] text-[#bb91ef] border-[#bb91ef]">