#B8A2FF

A color in the Violet family

#b8a2ff is a color in the Violet family: RGB(184, 162, 255), HSL(254°, 100%, 82%), CMYK(28%, 36%, 0%, 0%). Closest named color: plum. Contrast is 2.18:1 on white and 9.65:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b8a2ff
RGBrgb(184 162 255)
RGB (legacy)rgb(184, 162, 255)
RGB %rgb(72% 64% 100%)
HSLhsl(254 100% 82%)
HSV / HSBhsv(254, 36%, 100%)
HWBhwb(254 64% 0%)
CMYKcmyk(28%, 36%, 0%, 0%)
CIELAB (D50)lab(71.3 23.03 -43.72)
LCHlch(71.3 49.42 297.78)
OKLaboklab(0.767 0.0536 -0.1208)
OKLCHoklch(0.767 0.1321 293.93)
Decimal12100351

Properties

Color ToneViolet
Closest named colorplum ΔE 7.3
Closest web-safe color#cc99ff
Hue254°
Saturation (HSL / HSV)100% / 36%
Lightness (HSL)82%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)70% / 68%
Relative luminance (WCAG)0.4325
Red / Green / Blue184 / 162 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.65: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 42.7 / -59.5 · As background with white / black text: Lc -47.4 / 61.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: #b8a2ff;
  --color-brand-oklch: oklch(76.7% 0.1321 293.93);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(184 162 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b8a2ff] text-[#b8a2ff] border-[#b8a2ff]">