#FB7CFD#FB7CFD
#FB7CFD is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.6% C 0.216 H 326.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7CFD |
|---|---|
| RGB | rgb(251, 124, 253) |
| HSL | hsl(299, 97%, 74%) |
| HSV | hsv(299, 51%, 99%) |
| CMYK | cmyk(0.8%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(70.88, 65.38, -43.04) |
| CIE-LCH | lch(70.88, 78.28, 326.64°) |
| OKLab | oklab(77.62% 0.1811 -0.1184) |
| OKLCH | oklch(77.62% 0.216 326.8) |
| XYZ | xyz(64.7198, 42.0200, 97.6112) |
| Luminance | 0.4202 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.73
Purply Pink
#F075E6
ΔE00 3.63
Violet Pink
#FB5FFC
ΔE00 4.61
Light Magenta
#FA5FF7
ΔE00 4.70
Candy Pink
#FF63E9
ΔE00 4.78
Lavender Pink
#DD85D7
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7CFD #7EFD7C
analogous
#BB7CFD #FB7CFD #FD7CBF
triadic
#FB7CFD #FDFB7C #7CFDFB
tetradic
#FB7CFD #FDBB7C #7EFD7C #7CBFFD
square
#FB7CFD #FDBB7C #7EFD7C #7CBFFD
split-complementary
#FB7CFD #BFFD7C #7CFDBB
monochromatic
#F704FB #F940FC #FB7CFD #FDB8FE #FEE1FF
Accessibility & contrast
On white
2.23
#FB7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#FB7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7CFD
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7CFD | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #fb7cfd; /* rgb */ color: rgb(251, 124, 253); /* oklch */ color: oklch(77.6% 0.216 326.8);
Tailwind
colors: {
custom: {
50: '#ffa7fe',
500: '#fb7cfd',
950: '#000000',
},
}SCSS
$custom: #fb7cfd; $custom-light: #ffa7fe; $custom-dark: #000000;
JSON
{
"hex": "#fb7cfd",
"rgb": {
"r": 251,
"g": 124,
"b": 253
},
"hsl": {
"h": 299.07,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.77622,
"c": 0.21632,
"h": 326.8
},
"luminance": 0.42016
}Semantic roles & 50–950 ramp
primary
#FB7CFD
secondary
#D5F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86