#B296EA

A color in the Violet family

#b296ea is a color in the Violet family: RGB(178, 150, 234), HSL(260°, 67%, 75%), CMYK(24%, 36%, 0%, 8%). Closest named color: plum. Contrast is 2.49:1 on white and 8.44:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b296ea
RGBrgb(178 150 234)
RGB (legacy)rgb(178, 150, 234)
RGB %rgb(70% 59% 92%)
HSLhsl(260 67% 75%)
HSV / HSBhsv(260, 36%, 92%)
HWBhwb(260 59% 8%)
CMYKcmyk(24%, 36%, 0%, 8%)
CIELAB (D50)lab(67.09 23.63 -38.89)
LCHlch(67.09 45.5 301.28)
OKLaboklab(0.7302 0.0586 -0.1072)
OKLCHoklch(0.7302 0.1222 298.68)
Decimal11704042

Properties

Color ToneViolet
Closest named colorplum ΔE 7.8
Closest web-safe color#9999ff
Hue260°
Saturation (HSL / HSV)67% / 36%
Lightness (HSL)75%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)66% / 64%
Relative luminance (WCAG)0.3722
Red / Green / Blue178 / 150 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.49:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.44: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.8 / -53.2 · As background with white / black text: Lc -53.8 / 55.2

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: #b296ea;
  --color-brand-oklch: oklch(73.02% 0.1222 298.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 150 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b296ea] text-[#b296ea] border-[#b296ea]">