#B671FB

A color in the Violet family

#b671fb is a color in the Violet family: RGB(182, 113, 251), HSL(270°, 95%, 71%), CMYK(27%, 55%, 0%, 2%). Closest named color: mediumpurple. Contrast is 3.11:1 on white and 6.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b671fb
RGBrgb(182 113 251)
RGB (legacy)rgb(182, 113, 251)
RGB %rgb(71% 44% 98%)
HSLhsl(270 95% 71%)
HSV / HSBhsv(270, 55%, 98%)
HWBhwb(270 44% 2%)
CMYKcmyk(27%, 55%, 0%, 2%)
CIELAB (D50)lab(59.97 47.16 -59.37)
LCHlch(59.97 75.82 308.46)
OKLaboklab(0.682 0.1149 -0.1659)
OKLCHoklch(0.682 0.2018 304.7)
Decimal11956731

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.5
Closest web-safe color#cc66ff
Hue270°
Saturation (HSL / HSV)95% / 55%
Lightness (HSL)71%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)59% / 54%
Relative luminance (WCAG)0.2872
Red / Green / Blue182 / 113 / 251

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.74: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 57.8 / -44 · As background with white / black text: Lc -63.1 / 46.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: #b671fb;
  --color-brand-oklch: oklch(68.2% 0.2018 304.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(182 113 251 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b671fb] text-[#b671fb] border-[#b671fb]">