#B273CB

A color in the Purple, Crimson, Magenta family

#b273cb is a color in the Purple, Crimson, Magenta family: RGB(178, 115, 203), HSL(283°, 46%, 62%), CMYK(12%, 43%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.38:1 on white and 6.21:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b273cb
RGBrgb(178 115 203)
RGB (legacy)rgb(178, 115, 203)
RGB %rgb(70% 45% 80%)
HSLhsl(283 46% 62%)
HSV / HSBhsv(283, 43%, 80%)
HWBhwb(283 45% 20%)
CMYKcmyk(12%, 43%, 0%, 20%)
CIELAB (D50)lab(57.86 36.79 -35.97)
LCHlch(57.86 51.46 315.65)
OKLaboklab(0.6549 0.1023 -0.0994)
OKLCHoklch(0.6549 0.1427 315.84)
Decimal11695051

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 5.9
Closest web-safe color#9966cc
Hue283°
Saturation (HSL / HSV)46% / 43%
Lightness (HSL)62%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)56% / 53%
Relative luminance (WCAG)0.2604
Red / Green / Blue178 / 115 / 203

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.21: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 61.1 / -40.6 · As background with white / black text: Lc -66.5 / 43

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: #b273cb;
  --color-brand-oklch: oklch(65.49% 0.1427 315.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 115 203 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b273cb] text-[#b273cb] border-[#b273cb]">