#F18AFA

A color in the Purple, Crimson, Magenta family

#f18afa is a color in the Purple, Crimson, Magenta family: RGB(241, 138, 250), HSL(295°, 92%, 76%), CMYK(4%, 45%, 0%, 2%). Closest named color: violet. Contrast is 2.15:1 on white and 9.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f18afa
RGBrgb(241 138 250)
RGB (legacy)rgb(241, 138, 250)
RGB %rgb(95% 54% 98%)
HSLhsl(295 92% 76%)
HSV / HSBhsv(295, 45%, 98%)
HWBhwb(295 54% 2%)
CMYKcmyk(4%, 45%, 0%, 2%)
CIELAB (D50)lab(71.95 52.04 -39.44)
LCHlch(71.95 65.3 322.84)
OKLaboklab(0.7821 0.1509 -0.1089)
OKLCHoklch(0.7821 0.186 324.19)
Decimal15829754

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.2
Closest web-safe color#ff99ff
Hue295°
Saturation (HSL / HSV)92% / 45%
Lightness (HSL)76%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)71% / 66%
Relative luminance (WCAG)0.4378
Red / Green / Blue241 / 138 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.76: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 41.9 / -60.3 · As background with white / black text: Lc -46.6 / 62

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: #f18afa;
  --color-brand-oklch: oklch(78.21% 0.186 324.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(241 138 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f18afa] text-[#f18afa] border-[#f18afa]">