#B671EF

A color in the Purple, Crimson, Magenta family

#b671ef is a color in the Purple, Crimson, Magenta family: RGB(182, 113, 239), HSL(273°, 80%, 69%), CMYK(24%, 53%, 0%, 6%). Closest named color: mediumpurple. Contrast is 3.18:1 on white and 6.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b671ef
RGBrgb(182 113 239)
RGB (legacy)rgb(182, 113, 239)
RGB %rgb(71% 44% 94%)
HSLhsl(273 80% 69%)
HSV / HSBhsv(273, 53%, 94%)
HWBhwb(273 44% 6%)
CMYKcmyk(24%, 53%, 0%, 6%)
CIELAB (D50)lab(59.41 45.04 -53.63)
LCHlch(59.41 70.04 310.02)
OKLaboklab(0.6751 0.1143 -0.1495)
OKLCHoklch(0.6751 0.1882 307.39)
Decimal11956719

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 6.5
Closest web-safe color#cc66ff
Hue273°
Saturation (HSL / HSV)80% / 53%
Lightness (HSL)69%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)58% / 54%
Relative luminance (WCAG)0.2799
Red / Green / Blue182 / 113 / 239

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.60: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 58.7 / -43.1 · As background with white / black text: Lc -64.1 / 45.4

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: #b671ef;
  --color-brand-oklch: oklch(67.51% 0.1882 307.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(182 113 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b671ef] text-[#b671ef] border-[#b671ef]">