#F56DFD

A color in the Purple, Crimson, Magenta family

#f56dfd is a color in the Purple, Crimson, Magenta family: RGB(245, 109, 253), HSL(297°, 97%, 71%), CMYK(3%, 57%, 0%, 1%). Closest named color: violet. Contrast is 2.47:1 on white and 8.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f56dfd
RGBrgb(245 109 253)
RGB (legacy)rgb(245, 109, 253)
RGB %rgb(96% 43% 99%)
HSLhsl(297 97% 71%)
HSV / HSBhsv(297, 57%, 99%)
HWBhwb(297 43% 1%)
CMYKcmyk(3%, 57%, 0%, 1%)
CIELAB (D50)lab(67.45 66.59 -48.03)
LCHlch(67.45 82.1 324.2)
OKLaboklab(0.7506 0.1933 -0.1334)
OKLCHoklch(0.7506 0.2348 325.4)
Decimal16084477

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 5
Closest web-safe color#ff66ff
Hue297°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)65% / 58%
Relative luminance (WCAG)0.3744
Red / Green / Blue245 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.47:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.49: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 47.9 / -54.1 · As background with white / black text: Lc -52.9 / 56.1

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: #f56dfd;
  --color-brand-oklch: oklch(75.06% 0.2348 325.4);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(245 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f56dfd] text-[#f56dfd] border-[#f56dfd]">