#B368DF

A color in the Purple, Crimson, Magenta family

#b368df is a color in the Purple, Crimson, Magenta family: RGB(179, 104, 223), HSL(278°, 65%, 64%), CMYK(20%, 53%, 0%, 13%). Closest named color: mediumorchid. Contrast is 3.52:1 on white and 5.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b368df
RGBrgb(179 104 223)
RGB (legacy)rgb(179, 104, 223)
RGB %rgb(70% 41% 87%)
HSLhsl(278 65% 64%)
HSV / HSBhsv(278, 53%, 87%)
HWBhwb(278 41% 13%)
CMYKcmyk(20%, 53%, 0%, 13%)
CIELAB (D50)lab(56.51 45.95 -49.33)
LCHlch(56.51 67.42 312.97)
OKLaboklab(0.6496 0.1213 -0.1374)
OKLCHoklch(0.6496 0.1833 311.43)
Decimal11757791

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4
Closest web-safe color#cc66cc
Hue278°
Saturation (HSL / HSV)65% / 53%
Lightness (HSL)64%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)55% / 50%
Relative luminance (WCAG)0.2481
Red / Green / Blue179 / 104 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.52:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.96: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 62.4 / -39.3 · As background with white / black text: Lc -67.9 / 41.7

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: #b368df;
  --color-brand-oklch: oklch(64.96% 0.1833 311.43);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 104 223 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b368df] text-[#b368df] border-[#b368df]">