#B671FE

A color in the Violet family

#b671fe is a color in the Violet family: RGB(182, 113, 254), HSL(269°, 99%, 72%), CMYK(28%, 56%, 0%, 0%). Closest named color: mediumpurple. Contrast is 3.1:1 on white and 6.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b671fe
RGBrgb(182 113 254)
RGB (legacy)rgb(182, 113, 254)
RGB %rgb(71% 44% 100%)
HSLhsl(269 99% 72%)
HSV / HSBhsv(269, 56%, 100%)
HWBhwb(269 44% 0%)
CMYKcmyk(28%, 56%, 0%, 0%)
CIELAB (D50)lab(60.12 47.7 -60.79)
LCHlch(60.12 77.27 308.12)
OKLaboklab(0.6838 0.1149 -0.17)
OKLCHoklch(0.6838 0.2052 304.07)
Decimal11956734

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.7
Closest web-safe color#cc66ff
Hue269°
Saturation (HSL / HSV)99% / 56%
Lightness (HSL)72%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)59% / 54%
Relative luminance (WCAG)0.2891
Red / Green / Blue182 / 113 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.78: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.5 / -44.2 · As background with white / black text: Lc -62.9 / 46.5

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