#B36DFD

A color in the Violet family

#b36dfd is a color in the Violet family: RGB(179, 109, 253), HSL(269°, 97%, 71%), CMYK(29%, 57%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3.22:1 on white and 6.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b36dfd
RGBrgb(179 109 253)
RGB (legacy)rgb(179, 109, 253)
RGB %rgb(70% 43% 99%)
HSLhsl(269 97% 71%)
HSV / HSBhsv(269, 57%, 99%)
HWBhwb(269 43% 1%)
CMYKcmyk(29%, 57%, 0%, 1%)
CIELAB (D50)lab(58.93 48.7 -62.16)
LCHlch(58.93 78.97 308.07)
OKLaboklab(0.6744 0.1161 -0.1739)
OKLCHoklch(0.6744 0.2091 303.72)
Decimal11759101

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.3
Closest web-safe color#cc66ff
Hue269°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)57% / 53%
Relative luminance (WCAG)0.2761
Red / Green / Blue179 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.52: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 59 / -42.7 · As background with white / black text: Lc -64.4 / 45.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: #b36dfd;
  --color-brand-oklch: oklch(67.44% 0.2091 303.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b36dfd] text-[#b36dfd] border-[#b36dfd]">