#F56AFB#F56AFB
#F56AFB is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.6% C 0.237 H 326.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F56AFB |
|---|---|
| RGB | rgb(245, 106, 251) |
| HSL | hsl(298, 95%, 70%) |
| HSV | hsv(298, 58%, 98%) |
| CMYK | cmyk(2.4%, 57.8%, 0%, 1.6%) |
| CIE-LAB | lab(67.04, 71.50, -48.04) |
| CIE-LCH | lch(67.04, 86.14, 326.10°) |
| OKLab | oklab(74.61% 0.1967 -0.1328) |
| OKLCH | oklch(74.61% 0.237 326) |
| XYZ | xyz(60.2216, 36.6891, 95.1578) |
| Luminance | 0.3669 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 1.52
Light Magenta
#FA5FF7
ΔE00 1.70
Candy Pink
#FF63E9
ΔE00 3.64
Purply Pink
#F075E6
ΔE00 3.79
Violet (CSS)
#EE82EE
ΔE00 4.74
Orchid
#DA70D6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F56AFB #70FB6A
analogous
#AC6AFB #F56AFB #FB6AB9
triadic
#F56AFB #FBF56A #6AFBF5
tetradic
#F56AFB #FBAC6A #70FB6A #6AB9FB
square
#F56AFB #FBAC6A #70FB6A #6AB9FB
split-complementary
#F56AFB #B9FB6A #6AFBAC
monochromatic
#DB06E4 #F12EF9 #F56AFB #F9A6FD #FDE1FE
Accessibility & contrast
On white
2.52
#F56AFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#F56AFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F56AFB
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F56AFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F56AFB | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#FB7DA9
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f56afb; /* rgb */ color: rgb(245, 106, 251); /* oklch */ color: oklch(74.6% 0.237 326.0);
Tailwind
colors: {
custom: {
50: '#fc9cfd',
500: '#f56afb',
950: '#000000',
},
}SCSS
$custom: #f56afb; $custom-light: #fc9cfd; $custom-dark: #000000;
JSON
{
"hex": "#f56afb",
"rgb": {
"r": 245,
"g": 106,
"b": 251
},
"hsl": {
"h": 297.517,
"s": 94.771,
"l": 70
},
"oklch": {
"l": 0.74614,
"c": 0.23733,
"h": 326
},
"luminance": 0.36686
}Semantic roles & 50–950 ramp
primary
#F56AFB
secondary
#CEF5CC
accent
#E60009
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86