#FB7BF2#FB7BF2
#FB7BF2 is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.0% C 0.209 H 330.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #FB7BF2 |
|---|---|
| RGB | rgb(251, 123, 242) |
| HSL | hsl(304, 94%, 73%) |
| HSV | hsv(304, 51%, 98%) |
| CMYK | cmyk(0%, 51%, 3.6%, 1.6%) |
| CIE-LAB | lab(70.24, 63.98, -38.04) |
| CIE-LCH | lch(70.24, 74.44, 329.27°) |
| OKLab | oklab(76.99% 0.1808 -0.104) |
| OKLCH | oklch(76.99% 0.209 330.1) |
| XYZ | xyz(62.8930, 41.0898, 88.6056) |
| Luminance | 0.4109 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.17
Purply Pink
#F075E6
ΔE00 2.45
Candy Pink
#FF63E9
ΔE00 3.88
Light Magenta
#FA5FF7
ΔE00 4.82
Violet Pink
#FB5FFC
ΔE00 4.98
Lavender Pink
#DD85D7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FB7BF2 #7BFB84
analogous
#C47BFB #FB7BF2 #FB7BB2
triadic
#FB7BF2 #F2FB7B #7BF2FB
tetradic
#FB7BF2 #FBC47B #7BFB84 #7BB2FB
square
#FB7BF2 #FBC47B #7BFB84 #7BB2FB
split-complementary
#FB7BF2 #B2FB7B #7BFBC4
monochromatic
#F407E4 #F940EC #FB7BF2 #FDB6F8 #FEE1FC
Accessibility & contrast
On white
2.28
#FB7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#FB7BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FB7BF2
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FB7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FB7BF2 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF86AC
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #fb7bf2; /* rgb */ color: rgb(251, 123, 242); /* oklch */ color: oklch(77.0% 0.209 330.1);
Tailwind
colors: {
custom: {
50: '#ffa6f6',
500: '#fb7bf2',
950: '#000000',
},
}SCSS
$custom: #fb7bf2; $custom-light: #ffa6f6; $custom-dark: #000000;
JSON
{
"hex": "#fb7bf2",
"rgb": {
"r": 251,
"g": 123,
"b": 242
},
"hsl": {
"h": 304.219,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.76991,
"c": 0.20855,
"h": 330.1
},
"luminance": 0.41086
}Semantic roles & 50–950 ramp
primary
#FB7BF2
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85