#B8A2EA

A color in the Violet family

#b8a2ea is a color in the Violet family: RGB(184, 162, 234), HSL(258°, 63%, 78%), CMYK(21%, 31%, 0%, 8%). Closest named color: plum. Contrast is 2.24:1 on white and 9.39:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b8a2ea
RGBrgb(184 162 234)
RGB (legacy)rgb(184, 162, 234)
RGB %rgb(72% 64% 92%)
HSLhsl(258 63% 78%)
HSV / HSBhsv(258, 31%, 92%)
HWBhwb(258 64% 8%)
CMYKcmyk(21%, 31%, 0%, 8%)
CIELAB (D50)lab(70.56 19.23 -33.49)
LCHlch(70.56 38.61 299.86)
OKLaboklab(0.7575 0.0487 -0.0918)
OKLCHoklch(0.7575 0.1039 297.91)
Decimal12100330

Properties

Color ToneViolet
Closest named colorplum ΔE 5.8
Closest web-safe color#cc99ff
Hue258°
Saturation (HSL / HSV)63% / 31%
Lightness (HSL)78%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)69% / 67%
Relative luminance (WCAG)0.4197
Red / Green / Blue184 / 162 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.39: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 44 / -58.1 · As background with white / black text: Lc -48.8 / 60

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: #b8a2ea;
  --color-brand-oklch: oklch(75.75% 0.1039 297.91);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(184 162 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b8a2ea] text-[#b8a2ea] border-[#b8a2ea]">