#FB7CF2#FB7CF2
#FB7CF2 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.207 H 330.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7CF2 |
|---|---|
| RGB | rgb(251, 124, 242) |
| HSL | hsl(304, 94%, 74%) |
| HSV | hsv(304, 51%, 98%) |
| CMYK | cmyk(0%, 50.6%, 3.6%, 1.6%) |
| CIE-LAB | lab(70.41, 63.52, -37.76) |
| CIE-LCH | lch(70.41, 73.90, 329.27°) |
| OKLab | oklab(77.12% 0.1795 -0.1032) |
| OKLCH | oklch(77.12% 0.207 330.1) |
| XYZ | xyz(63.0177, 41.3392, 88.6472) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.10
Purply Pink
#F075E6
ΔE00 2.55
Candy Pink
#FF63E9
ΔE00 4.05
Light Magenta
#FA5FF7
ΔE00 5.00
Violet Pink
#FB5FFC
ΔE00 5.15
Lavender Pink
#DD85D7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7CF2 #7CFB85
analogous
#C47CFB #FB7CF2 #FB7CB2
triadic
#FB7CF2 #F2FB7C #7CF2FB
tetradic
#FB7CF2 #FBC47C #7CFB85 #7CB2FB
square
#FB7CF2 #FBC47C #7CFB85 #7CB2FB
split-complementary
#FB7CF2 #B2FB7C #7CFBC4
monochromatic
#F507E4 #F941EC #FB7CF2 #FDB7F8 #FEE1FC
Accessibility & contrast
On white
2.27
#FB7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#FB7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7CF2
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7CF2 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #fb7cf2; /* rgb */ color: rgb(251, 124, 242); /* oklch */ color: oklch(77.1% 0.207 330.1);
Tailwind
colors: {
custom: {
50: '#ffa7f6',
500: '#fb7cf2',
950: '#000000',
},
}SCSS
$custom: #fb7cf2; $custom-light: #ffa7f6; $custom-dark: #000000;
JSON
{
"hex": "#fb7cf2",
"rgb": {
"r": 251,
"g": 124,
"b": 242
},
"hsl": {
"h": 304.252,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.7712,
"c": 0.20703,
"h": 330.1
},
"luminance": 0.41335
}Semantic roles & 50–950 ramp
primary
#FB7CF2
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85