#B08DFD

A color in the Violet family

#b08dfd is a color in the Violet family: RGB(176, 141, 253), HSL(259°, 97%, 77%), CMYK(30%, 44%, 0%, 1%). Closest named color: mediumpurple. Contrast is 2.6:1 on white and 8.07:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b08dfd
RGBrgb(176 141 253)
RGB (legacy)rgb(176, 141, 253)
RGB %rgb(69% 55% 99%)
HSLhsl(259 97% 77%)
HSV / HSBhsv(259, 44%, 99%)
HWBhwb(259 55% 1%)
CMYKcmyk(30%, 44%, 0%, 1%)
CIELAB (D50)lab(65.52 31.33 -51.74)
LCHlch(65.52 60.49 301.2)
OKLaboklab(0.722 0.0719 -0.1439)
OKLCHoklch(0.722 0.1608 296.57)
Decimal11570685

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 9.5
Closest web-safe color#9999ff
Hue259°
Saturation (HSL / HSV)97% / 44%
Lightness (HSL)77%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)64% / 61%
Relative luminance (WCAG)0.3537
Red / Green / Blue176 / 141 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.60:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.07: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 50.6 / -51.3 · As background with white / black text: Lc -55.8 / 53.4

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: #b08dfd;
  --color-brand-oklch: oklch(72.2% 0.1608 296.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(176 141 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b08dfd] text-[#b08dfd] border-[#b08dfd]">