#B384EE

A color in the Violet family

#b384ee is a color in the Violet family: RGB(179, 132, 238), HSL(267°, 76%, 73%), CMYK(25%, 45%, 0%, 7%). Closest named color: mediumpurple. Contrast is 2.82:1 on white and 7.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b384ee
RGBrgb(179 132 238)
RGB (legacy)rgb(179, 132, 238)
RGB %rgb(70% 52% 93%)
HSLhsl(267 76% 73%)
HSV / HSBhsv(267, 45%, 93%)
HWBhwb(267 52% 7%)
CMYKcmyk(25%, 45%, 0%, 7%)
CIELAB (D50)lab(63.14 34.18 -47.24)
LCHlch(63.14 58.31 305.89)
OKLaboklab(0.7016 0.0853 -0.1311)
OKLCHoklch(0.7016 0.1565 303.05)
Decimal11764974

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.7
Closest web-safe color#cc99ff
Hue267°
Saturation (HSL / HSV)76% / 45%
Lightness (HSL)73%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)62% / 59%
Relative luminance (WCAG)0.3226
Red / Green / Blue179 / 132 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.45: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 54 / -47.9 · As background with white / black text: Lc -59.2 / 50.1

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: #b384ee;
  --color-brand-oklch: oklch(70.16% 0.1565 303.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 132 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b384ee] text-[#b384ee] border-[#b384ee]">