#FFAFFE

A color in the Purple, Crimson, Magenta family

#ffaffe is a color in the Purple, Crimson, Magenta family: RGB(255, 175, 254), HSL(301°, 100%, 84%), CMYK(0%, 31%, 0%, 0%). Closest named color: plum. Contrast is 1.64:1 on white and 12.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ffaffe
RGBrgb(255 175 254)
RGB (legacy)rgb(255, 175, 254)
RGB %rgb(100% 69% 100%)
HSLhsl(301 100% 84%)
HSV / HSBhsv(301, 31%, 100%)
HWBhwb(301 69% 0%)
CMYKcmyk(0%, 31%, 0%, 0%)
CIELAB (D50)lab(81.29 39.04 -27.14)
LCHlch(81.29 47.55 325.2)
OKLaboklab(0.8555 0.1147 -0.0742)
OKLCHoklch(0.8555 0.1366 327.11)
Decimal16756734

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 7.8
Closest web-safe color#ff99ff
Hue301°
Saturation (HSL / HSV)100% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)82% / 78%
Relative luminance (WCAG)0.5908
Red / Green / Blue255 / 175 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.64:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.82: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 28.2 / -74.7 · As background with white / black text: Lc -31.8 / 75.6

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: #ffaffe;
  --color-brand-oklch: oklch(85.55% 0.1366 327.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 175 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffaffe] text-[#ffaffe] border-[#ffaffe]">