#F87CF2#F87CF2
#F87CF2 is a light, highly saturated purple. Relative luminance 0.408; OKLCH L 76.8% C 0.205 H 329.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #F87CF2 |
|---|---|
| RGB | rgb(248, 124, 242) |
| HSL | hsl(303, 90%, 73%) |
| HSV | hsv(303, 50%, 97%) |
| CMYK | cmyk(0%, 50%, 2.4%, 2.7%) |
| CIE-LAB | lab(70.03, 62.70, -38.40) |
| CIE-LCH | lch(70.03, 73.53, 328.52°) |
| OKLab | oklab(76.75% 0.1762 -0.1051) |
| OKLCH | oklch(76.75% 0.205 329.2) |
| XYZ | xyz(61.9453, 40.7862, 88.5969) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.75
Purply Pink
#F075E6
ΔE00 2.31
Candy Pink
#FF63E9
ΔE00 4.07
Light Magenta
#FA5FF7
ΔE00 4.81
Violet Pink
#FB5FFC
ΔE00 4.96
Lavender Pink
#DD85D7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F87CF2 #7CF882
analogous
#C07CF8 #F87CF2 #F87CB4
triadic
#F87CF2 #F2F87C #7CF2F8
tetradic
#F87CF2 #F8C07C #7CF882 #7CB4F8
square
#F87CF2 #F8C07C #7CF882 #7CB4F8
split-complementary
#F87CF2 #B4F87C #7CF8C0
monochromatic
#ED0DE2 #F542EC #F87CF2 #FBB6F8 #FDE2FC
Accessibility & contrast
On white
2.29
#F87CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#F87CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F87CF2
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F87CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F87CF2 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FF88AC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #f87cf2; /* rgb */ color: rgb(248, 124, 242); /* oklch */ color: oklch(76.8% 0.205 329.2);
Tailwind
colors: {
custom: {
50: '#fda6f6',
500: '#f87cf2',
950: '#000000',
},
}SCSS
$custom: #f87cf2; $custom-light: #fda6f6; $custom-dark: #000000;
JSON
{
"hex": "#f87cf2",
"rgb": {
"r": 248,
"g": 124,
"b": 242
},
"hsl": {
"h": 302.903,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.76753,
"c": 0.20517,
"h": 329.2
},
"luminance": 0.40783
}Semantic roles & 50–950 ramp
primary
#F87CF2
secondary
#D5F6D7
accent
#E60B00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85