#B577FC

A color in the Violet family

#b577fc is a color in the Violet family: RGB(181, 119, 252), HSL(268°, 96%, 73%), CMYK(28%, 53%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3:1 on white and 7.01:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b577fc
RGBrgb(181 119 252)
RGB (legacy)rgb(181, 119, 252)
RGB %rgb(71% 47% 99%)
HSLhsl(268 96% 73%)
HSV / HSBhsv(268, 53%, 99%)
HWBhwb(268 47% 1%)
CMYKcmyk(28%, 53%, 0%, 1%)
CIELAB (D50)lab(61.14 44.04 -58.08)
LCHlch(61.14 72.88 307.17)
OKLaboklab(0.6905 0.1062 -0.1622)
OKLCHoklch(0.6905 0.1938 303.22)
Decimal11892732

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 7.6
Closest web-safe color#cc66ff
Hue268°
Saturation (HSL / HSV)96% / 53%
Lightness (HSL)73%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)60% / 56%
Relative luminance (WCAG)0.3005
Red / Green / Blue181 / 119 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.00:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.01: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 56.3 / -45.5 · As background with white / black text: Lc -61.6 / 47.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: #b577fc;
  --color-brand-oklch: oklch(69.05% 0.1938 303.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(181 119 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b577fc] text-[#b577fc] border-[#b577fc]">