#F57DFD

A color in the Purple, Crimson, Magenta family

#f57dfd is a color in the Purple, Crimson, Magenta family: RGB(245, 125, 253), HSL(296°, 97%, 74%), CMYK(3%, 51%, 0%, 1%). Closest named color: violet. Contrast is 2.27:1 on white and 9.23:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f57dfd
RGBrgb(245 125 253)
RGB (legacy)rgb(245, 125, 253)
RGB %rgb(96% 49% 99%)
HSLhsl(296 97% 74%)
HSV / HSBhsv(296, 51%, 99%)
HWBhwb(296 49% 1%)
CMYKcmyk(3%, 51%, 0%, 1%)
CIELAB (D50)lab(70.16 59.65 -43.81)
LCHlch(70.16 74.01 323.71)
OKLaboklab(0.7703 0.1732 -0.1213)
OKLCHoklch(0.7703 0.2114 325)
Decimal16088573

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.8
Closest web-safe color#ff66ff
Hue296°
Saturation (HSL / HSV)97% / 51%
Lightness (HSL)74%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)69% / 63%
Relative luminance (WCAG)0.4117
Red / Green / Blue245 / 125 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.23: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 44.3 / -57.8 · As background with white / black text: Lc -49.2 / 59.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: #f57dfd;
  --color-brand-oklch: oklch(77.03% 0.2114 325);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(245 125 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f57dfd] text-[#f57dfd] border-[#f57dfd]">