#AF46BB

A color in the Purple, Crimson, Magenta family

#af46bb is a color in the Purple, Crimson, Magenta family: RGB(175, 70, 187), HSL(294°, 46%, 50%), CMYK(6%, 63%, 0%, 27%). Closest named color: mediumorchid. Contrast is 4.75:1 on white and 4.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#af46bb
RGBrgb(175 70 187)
RGB (legacy)rgb(175, 70, 187)
RGB %rgb(69% 27% 73%)
HSLhsl(294 46% 50%)
HSV / HSBhsv(294, 63%, 73%)
HWBhwb(294 27% 27%)
CMYKcmyk(6%, 63%, 0%, 27%)
CIELAB (D50)lab(48.19 55.07 -41.97)
LCHlch(48.19 69.24 322.69)
OKLaboklab(0.5799 0.1577 -0.1169)
OKLCHoklch(0.5799 0.1963 323.47)
Decimal11486907

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.8
Closest web-safe color#9933cc
Hue294°
Saturation (HSL / HSV)46% / 63%
Lightness (HSL)50%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)45% / 40%
Relative luminance (WCAG)0.1708
Red / Green / Blue175 / 70 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.3 / -29.4 · As background with white / black text: Lc -77.7 / 31.8

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: #af46bb;
  --color-brand-oklch: oklch(57.99% 0.1963 323.47);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(175 70 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#af46bb] text-[#af46bb] border-[#af46bb]">